Single Icon Display In User Library For Objects With PF - Droppath

Single Icon Display In User Library For Objects With PF - Droppath

arunTTT2P
Enthusiast Enthusiast
72 Views
3 Replies
Message 1 of 4

Single Icon Display In User Library For Objects With PF - Droppath

arunTTT2P
Enthusiast
Enthusiast

[ FlexSim 23.1.3 ]

Hi,

If the user library has an object PF, while saving it in the user library they are displayed as individual objects in the user library. Ideally, it should be displayed as a single icon in the user library.

1690452688696.png

So to include the objects in a single icon. I have created a drop path attribute and added them to the user library. Even after adding the drop path the object pf is not getting added to the object which is drag-dropped into the FlexSim model. How to fix this?

1690452373079.png

Attaching the userlibrary for reference.

Regards,

Arun KRCustomLib.fsl





0 Likes
Accepted solutions (1)
73 Views
3 Replies
Replies (3)
Message 2 of 4

jason_lightfootVL7B4
Autodesk
Autodesk
Accepted solution

Just put the process flow in an attribute of the library as a folder so it's hidden. No need for custom drop scripts etc.

1690467912257.png

0 Likes
Message 3 of 4

arunTTT2P
Enthusiast
Enthusiast

Thanks process flow works fine but while adding the conveyor visuals an exception is thrown. How to fix this?

exception: Exception Caught in ObjectFunction253__project_library_FlexSimObject_behaviour_eventfunctions_OnPreDraw object: /Plane4/StraightConveyor1 class: /Plane4/StraightConveyor1

exception: Exception caught in TreeNode::receivemessage()
exception: EditorSpatial::prepareDraw()
exception: Exception Caught in ObjectFunction232__project_library_FlexSimEventHandler_behaviour_eventfunctions_OnDraw object: /ConveyorSystem i: /ConveyorSystem class: /ConveyorSystem

exception: Exception caught in TreeNode::receivemessage()
exception: EditorSpatial::drawContent()
exception: treewin__CallUserCallback
ex: CallUserCallback

Lib.fsl

0 Likes
Message 4 of 4

jason_lightfootVL7B4
Autodesk
Autodesk

I would place the hide folder in the attribute part of the library object - not in the part that gets displayed in the grid.

In this case I think the conveyor in the plane was not pointing to the visualization type.

Fix attached.

lib_hiddenConvVisualization.fsl

0 Likes