question

Gui Vaccaro avatar image
0 Likes"
Gui Vaccaro asked Gui Vaccaro commented

If createinstance() is deprecated, how to create a plane via code?

Hello,
the documentation states createinstance() is deprecated and Object.create() should be used instead. However, a plane is a library/VisualTool, so not recognized as Object. What is the current recommended method to create a plane via code?
Thank you.

FlexSim 25.0.0
best practicesanswers cleanup
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

1 Answer

Sebastián Cañas avatar image
0 Likes"
Sebastián Cañas answered Gui Vaccaro commented

@Gui Vaccaro ,

  1. Object.create("VisualTool");
· 3
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.