Message 1 of 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I want to make a ConveyorSystem without dragging a conveyor object into the model.
Therefore, I used the following script and it seems to work well. Is it a proper way?
- Object conv_system = createcopy(maintree().find("project/library/conveyor/ConveyorSystem"), model);
conv_system.name = "ConveyorSystem";
But the following script does not work, even though the manual recommends using treenode.copy() instead of createcopy(). What is the difference?
- Object conv_system = maintree().find("project/library/conveyor/ConveyorSystem").copy(model);
conv_system.name = "ConveyorSystem";
Thank you.
Solved! Go to Solution.