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 |
|
Downloads |
Q&A Using Flexsim and building models |
#1
|
|||
|
|||
Changing the color of a .3ds shape made with autocad
Hello,
I created my own shape with autocad. I use it for a task executer. However, it seems that I can't change the color of the TE anymore. Is there a way to import a .3ds file from autocad and still be able to change its color?. Thanks, Alex |
#2
|
||||
|
||||
Alex,
You would be better off to import the shape into a product like AC3D and then export it as a wrl. Two reasons: first, it is well documented on how to make a wrl shape change color from within AC3D. Second, wrl shapes draw faster in Flexsim. If this isn't an option then you can try putting the object that you want to change color in Flexsim at the front of the file (It has to be ranked first) and making sure that the object has no material or color associated with it. This may or may not work it has been a while since I've had to make any shapes. Brandon
__________________
thats not normal. |
#3
|
||||
|
||||
And have a look at this thread on the forum if you haven't already done so:
http://www.flexsim.com/community/for...hlight=autocad Martijn |
#4
|
||||
|
||||
This thread also discusses how to create a wrl file that has parts of it that can adopt the color of the object in Flexsim.
|
#5
|
|||
|
|||
Thanks to all of you. That is great information. However, for some reasons, I can't buy AC3D. Thus, I decided to use different shapes and to change it with the command:
setobjectshapeindex(obj object, num index) It also allow me to change the shape itself and not only just its color. It does a better job to represent what I want to show. Alex |
#6
|
||||
|
||||
Alexandre,
If you have one object that is switching between shapes you might be better off to try using frames instead of different shapes. It is essentially the same thing but implemented differently. To use frames you would name all of your shape files like the following: MyShape.wrl MyShapeFRAME1.wrl MyShapeFRAME2.wrl This way all of the shapes are automatically loaded with the initial shape. When you want to change shapes you call the setframe(current, framenumber); command. This is how the operator walks and takes on other shapes so you wouldn't want to do this with the operator because it is already changing its shape factors. I'm not sure but this should be an easier and maybe faster way to implement what you are trying to do. Brandon
__________________
thats not normal. |
Thread | Thread Starter | Forum | Replies | Last Post |
how to change color of 3D object made in 3D Max | qin tian | Q&A | 3 | 03-26-2013 10:27 PM |
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 |
How to prepare an AutoCAD drawing for Flexsim import. | Regan Blackett | Tips and Tricks | 1 | 11-07-2007 07:08 PM |
Adjusting 3d shape of a crane | Maurits Brandt | Tips and Tricks | 3 | 09-14-2007 12:25 AM |