question

Daniel R13 avatar image
0 Likes"
Daniel R13 asked Daniel R13 commented

Programmatically Add Object to Model

Hi All!

I am trying to dynamically create an object inside of FlexScript and I am not sure how to go about it. My objective is to create an object, assign it a 3d object in order for it to be rendered on the model tab, give it a x and y coordinate and then place it in the model to view. If anything is unclear please let me know. Thanks!

-Dan

FlexSim 21.1.3
flexscriptcreate objectflexsim 21.1.3visual displayinstance rendering
· 1
5 |100000

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

Joerg Vogel avatar image Joerg Vogel commented ·

………..

0 Likes 0 ·
Pedro Ortelani avatar image
1 Like"
Pedro Ortelani answered Daniel R13 commented

Hello @Daniel R13,

Maybe you can find what you are looking for on this post:

https://answers.flexsim.com/questions/93966/changing-the-location-of-3dobject-created-by-creat.html

I hope it helps!

· 1
5 |100000

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

Daniel R13 avatar image Daniel R13 commented ·
Thank you!
1 Like 1 ·
Joerg Vogel avatar image
0 Likes"
Joerg Vogel answered
5 |100000

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