AnsweredAssumed Answered

4.7 Difference between drawing polygon and circle/rectangle with sketchViewModel

Question asked by tubakumbara on Apr 30, 2018
Latest reply on May 1, 2018 by tubakumbara

Hello.

 

I can draw polygon with below code

 

scketchViewModel.create("polygon");

I want to draw rectangle and circle with cketchViewModel tried below codes but it seems doesn't working

 

scketchViewModel.create("rectangle");

 

scketchViewModel.create("circle");

 

What i'm doing wrong. Is there a sample code if rectangle and circle drawing is totally different from polygon.

Thanks inadvance.

Outcomes