& Construction

Integrated BIM tools, including Revit, AutoCAD, and Civil 3D
& Manufacturing

Professional CAD/CAM tools built on Inventor and AutoCAD
Integrated BIM tools, including Revit, AutoCAD, and Civil 3D
Professional CAD/CAM tools built on Inventor and AutoCAD
Hi there, I am trying to figure out how to make a shape slightly transparent, so that I can see through it. I have created a building wall but would love to make it slightly transparent to make it easier for my simulation goal.
I would appfreciate anyones assistance 🙂
Thanks, regards Juan
Solved! Go to Solution.
There isn't a direct method, which you can activate in Flexsim by setting a option. You have to prepare the shape files. The level of transparency is set by the transparency of your shape picture in png-file. Or you use the fbx 3D data type which handle transparency inside the data structure. Please look for "preparing a 3D file", too.
David, I tried that and it works. Very simple.
However, it's not transparent for everything and I can't see my products or my operators !
I'll try something else..
The transparent objects need to be drawn after the other objects if you want to be able to see the other objects through them.
You can control the order of the drawing by changing the objects' ranks in the tree view. Objects at the top of the tree will be drawn last.
Move your transparent objects to the top of the tree.
Thanks Phil !!! That works great.
I have another issue with the transparency.
I have paint booths which are transparent and I placed them at the top of the tree so that they are transparent to everything in the model. They are processors with a custom 3D shape.
But when a flowitem enters the cabin, the cabin is not transparent for the flowitems. Is it because the flowitem bin is above the processors in the tree?
The flowitems change shape a previous workstations with setobjectshapeindex. Maybe that could be why?
In any case what could I do?
Thanks,
I have another possible cause. The paint booths change 3D shape (to close its doors) with setobjectshapeindex when a flowitem enters it and again when it exists.
The 3D shapes for the paint booths are loaded in flowitem bin because I find it convenient to be able to go there are visualize them even when not shown in 3D view.
But they are located above the flowitem shapes in the flowitem bin. Could that be why? I want to change this and test but I'm afraid of messing my shapeindexes.
The reason is much simpler than your guesses.
When traversing the tree, it draws the parent object before the subnodes of that object.
So you can't see the flowitems in the cabin because it draws the cabin before the flowitems.
This default ordering is very useful when the flowitems have transparency, but it is backwards from what you want when the main object has transparency.
To fix it, add a surrogate component to your object to draw the shape and set the main object's shape to an invalid path, such as ***. The surrogate objects will be drawn after the contents so you will be able to see the items through the surrogate object's shape.
Attached is an example. shape-draw-order.fsm
This question also addresses this same issue, but with custom draw code instead of simply the main object shape.
Will this work as simply as you explain even if I change the 3D shape of the Processor as I'm doing now with setobjectshapeindex when an item enters and exits?
Yes.
I can't seem to make it work. See attached sample model. What am I doing wrong? Thanks,transparent-cabin2.fsm
Use the surrogate object to draw the shape and set the object shape index of the surrogate object.
You are still drawing the shape with the parent object.
You can use first(drawsurrogate(object)) to get a reference to the surrogate object.
Here's your model with these changes: 18158-transparent-cabin2-1.fsm
By the way, you should have posted a sample model with your original question 8 days ago, and then you could have had this solved 8 days ago instead of only now posting enough information to understand what you are doing.
I only got to test this yesterday. The model and project involves a lot more stuff than this and the transparency of the cabin was not my 1st priority.
And when I got there yesterday I had about an hour of work to take my model and delete everything in it to make it this sample model.
How to buy
Privacy | Do not sell or share my personal information | Cookie preferences | Report noncompliance | Terms of use | Legal | © 2025 Autodesk Inc. All rights reserved
Type a product name