question

sachin T3 avatar image
0 Likes"
sachin T3 asked Matthew Gillespie commented

Object inheritence

Can anyone point me to a tutorial or give some information on how i can create child objects from a class objects.

For example: I have 10 Machine with one common label. How can i create a master object/ class object with all the attributes/labels in it and then use this master object to create instances in the model. This will help me to manage the model well and I can make changes in one class objects and those changes are automatically inherited in the child objects.

FlexSim 21.2.1
flexsim 21.2.1class objectinheritance
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

·
Matthew Gillespie avatar image
0 Likes"
Matthew Gillespie answered Matthew Gillespie commented

Using Object Templates

This video also shows the new template system in use briefly.

· 4
5 |100000

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

sachin T3 avatar image sachin T3 commented ·

thank you for your answer Matthew, i cannot see Template pane in the properties. do i need to activate it from somewhere. In the help it says that template will be there by default in the the properties window. Please let me know. 1630085709992.png


0 Likes 0 ·
1630085709992.png (52.2 KiB)
Matthew Gillespie avatar image Matthew Gillespie ♦♦ sachin T3 commented ·

@sachin T3

Look at Help > About FlexSim. What version does it say you're using?


The template system is a new feature in 21.2.

0 Likes 0 ·
sachin T3 avatar image sachin T3 commented ·

I am using Flex sim 21.1.4.,

0 Likes 0 ·
Matthew Gillespie avatar image Matthew Gillespie ♦♦ sachin T3 commented ·
@sachin T3 Your question is tagged as 21.2.1, which is why I directed you to the new feature in 21.2.


You will need to update to 21.2 to use the new template system.

0 Likes 0 ·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

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