ATTENTIONThis 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 |
#1
|
|||
|
|||
changing shape factor when changing 3d shape
Hi,
I'm facing a problem when I change a flowitem 3D shape in a trigger, i cannot change the 3d shape factor at the same time. Is there any command to change the shape factor?? I tried to find but fail. |
#2
|
||||
|
||||
The shape factor can be found in the tree of the object in the spatial node. For example the shape factor X is in the tree under spatial of the object and the node offsetx. With the command setnodenum() the value can be set.
setnodenum(node(">spatial/offsetx",current),0.4) All information of objects, the model, etc. can be found in the tree. The difficult bit is sometimes to find the node. One note beside: If you like to thank someone you could also use the Thanks button in the post on the right side. This is an even more valuable Thanks. Sometimes I guess it is also good to reply if the problem is solved or not. To write which solution was working at the end is always a good information for others.
__________________
tom the (A)tom: "We have solved our problems ... now we have to fight the solutions." |
The Following 6 Users Say Thank You to Tom David For This Useful Post: | ||
RalfGruber (09-03-2009) |
#3
|
||||
|
||||
Since all spatial nodes are attributes, there is a little bit easier syntax for those:
set(offsetx(current),0.4); You recognize that "offsetx" is printed in green as all attributes are in Flexsim. Look under help into the Attribute Hints. Although it does nothing else than Tom´s line of code ralle aka Ralf |
The Following 5 Users Say Thank You to RalfGruber For This Useful Post: | ||
Tom David (09-03-2009) |
#4
|
||||
|
||||
Kelvin,
If you modify the 3D shapes before you save them as wrl files then you could set things up so that you don't have to modify the shape factors in Flexsim. If you posted your files and the shape factors you are trying to modify then I could help you out with this method. Good Luck, Brandon
__________________
thats not normal. |
The Following User Says Thank You to Brandon Peterson For This Useful Post: | ||
KelvinHo (09-09-2009) |
Thread | Thread Starter | Forum | Replies | Last Post |
Auto Shape Factor | Kris Geisberger | User Development | 0 | 05-04-2009 09:29 AM |
Changing flow item by time | KelvinHo | Q&A | 6 | 08-13-2008 07:58 AM |
Changing the color of a .3ds shape made with autocad | Alexandre Ouellet | Q&A | 5 | 04-30-2008 08:48 AM |
Changing the height that a Transporter drops off an item to a Processor | KelvinHo | Q&A | 1 | 04-10-2008 09:29 AM |
Changing the direction of flowitem movement on a processor | shivrash | Q&A | 3 | 04-09-2008 10:31 PM |