ATTENTION

This FlexSim Community Forum is read-only. Please post any new questions, ideas, or discussions to our new community (we call it Answers) at https://answers.flexsim.com/. Our new Question & Answer site brings a modern, mobile-friendly interface and more focus on getting answers quickly. There are a few differences between how our new Q&A community works vs. a classic, threaded-conversation-style forum like the one below, so be sure to read our Answers Best Practices.


flexsim.com

Go Back   FlexSim Community Forum > FlexSim Software > Q&A
Downloads

Q&A Using Flexsim and building models

  #1  
Old 06-09-2011
shashanktrivedi shashanktrivedi is offline
Flexsim User
 
Join Date: Apr 2011
Posts: 59
Downloads: 26
Uploads: 0
Thanks: 26
Thanked 16 Times in 3 Posts
Rep Power: 122
shashanktrivedi will become famous soon enough
Default Pulling Object User Library

Hi,

We are pulling object from userlibrary through the script as mentioned below-

createinstance(node("userlibrary/UserLibrary 1/TruckOperator",maintree()),model());

Surprisingly this code is not compiling, have tried with multiple options but with no result.

Can anybody help me to do the required task.

Regards
Shashank Trivedi
  #2  
Old 06-09-2011
Steven Hamoen's Avatar
Steven Hamoen Steven Hamoen is offline
Talumis, Flexsim Distributor, The Netherlands
 
Join Date: Aug 2007
Location: Soest, NL
Posts: 854
Downloads: 43
Uploads: 0
Thanks: 391
Thanked 661 Times in 379 Posts
Rep Power: 684
Steven Hamoen has a reputation beyond reputeSteven Hamoen has a reputation beyond reputeSteven Hamoen has a reputation beyond reputeSteven Hamoen has a reputation beyond reputeSteven Hamoen has a reputation beyond reputeSteven Hamoen has a reputation beyond reputeSteven Hamoen has a reputation beyond reputeSteven Hamoen has a reputation beyond reputeSteven Hamoen has a reputation beyond reputeSteven Hamoen has a reputation beyond reputeSteven Hamoen has a reputation beyond repute
Default

please check this post:
http://www.flexsim.com/community/for...createinstance
The Following 2 Users Say Thank You to Steven Hamoen For This Useful Post:
shashanktrivedi (06-15-2011)

Tags
userlibrary


Thread Thread Starter Forum Replies Last Post
auto pulling objects from library through gui shashanktrivedi Q&A 5 04-27-2011 08:30 AM
How to save several objects as one object and put it into custom library Chunyan Liang Q&A 1 10-15-2010 03:25 AM
How to add objects to user library in V 5 Sebastian Hemmann Q&A 4 10-06-2010 04:43 AM
how to make a object in a userlibrary tree to display in the library grid? zhang xin Q&A 1 11-26-2009 06:29 AM
problem with automatic generation of objects by using a user library and c++ Martin Saler Q&A 17 06-05-2009 09:56 AM


All times are GMT -6.
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2020, vBulletin Solutions Inc.
Copyright 1993-2018 FlexSim Software Products, Inc.