Browse by Tags
All Tags » Python ( RSS)
-
I'm working with 3D Create model in Life Cycle of Production System. I think my model need to use RSL Process Handler and have statistic with random 'break', 'fail' and 'repair'. I hope to have that example model which help me. Thank you.
-
Nevermind, I figured it out. It was rather easy - creating another positionmatrix and assigning it to the part inside ComponentContainer seems to work fine. In case someone is having similar problems, here is one solution. It is not perfect but good enough for me. Table needs to have two one-way paths...
-
How to accomplish the following (rather common) behaviour on the production line using python script? Example Two part classes: 1. Rack (container part) - with capacity of 20 parts. Predefined positions for the parts. 2. Cell Elements: - Component creators for rack and simple-parts. - Three conveyours...
-
The Python script mentioned above only works for changing Node material, not geometry features. Changing the material of a geometry feature is very computationally expensive, and not recommended, as it need to rebuild the entire node tree structure every time is updated. Changing the node material is...
-
Overview The following Python example layout shows two ways of attaching a static part on a conveyor. A static part is one that is included in the layout, or loaded manually, rather than created during simulation using a component creator behaviour. When used on a conveyor, a static part can be used...
-
Component creator and "PATH" are commonly use for interfacing and etc. I just want to share the idea that i got when using the python. Suppose we have a rotary plate that will rotates on once an "object" enter the path or trigger at the origin. The rotary plate will then rotates....
-
There is no direct way to call a subroutine depending of a condition in a RSL program. This can however be done with a Python script. You need to get a trigger in the python script and then call RSL subroutine from the Python script. In this example the Python will get a Component Signal (which is transferring...
-
vCSript has some predefined events Method Parameters Description OnFinalize Called after all components are loaded or copied OnRebuild Called when a component's geometry is rebuilt (initially after loading) OnStart First event to be triggered when simulation is started OnRun This is the main loop...
-
To change the states of a Statistics behaviour, we need to use a python script. These statistics states are then usable from Tools menu > Show Statistics or Export Statistics (to a CSV file). There are several ready states but user can create on states as well. To change a state, just get the handle...
-
In order to change the color of a part the script for the workstation needs to be modified: Add the following lines to the code part.NodeMaterial = comp.Material part.MaterialInheritance = VC_MATERIAL_FORCE_INHERIT_NODE ”part” is handle to part ”comp” is the component where this script resides The method...
|
|
|