Visual Components' Community

New Thinking for Factory Simulation
Welcome to Visual Components' Community Sign in | Help
in Search

Browse by Tags

All Tags » Python (RSS)
  • Request: Example of using RSL Process Handler and Example model that have statistic 'break' 'fail' and 'repair'

    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.
    Posted to Forum by azrulazwan on ke, kesä 10 2009
  • Re: Request: example for using component containers with python

    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...
    Posted to Forum by krotta on ti, maalis 3 2009
  • Request: example for using component containers with python

    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...
    Posted to Forum by krotta on ma, maalis 2 2009
  • Re: Change the color of a part using Python script

    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...
    Posted to Forum by RicardoVelez on pe, loka 31 2008
  • Example: Using a static part on a conveyor

    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...
    Posted to Forum by stabi on to, loka 23 2008
  • CONTROL "PATH" and EVENTS USING PYTHON

    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....
    Posted to Forum by leonarul on ti, loka 7 2008
  • Call different subroutines depending of a condition

    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...
    Posted to Forum by RicardoVelez on pe, loka 3 2008
  • OnSignal() and OnStart() functions

    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...
    Posted to Forum by RicardoVelez on pe, loka 3 2008
  • Control Statistic behaviour with a sript

    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...
    Posted to Forum by RicardoVelez on ke, elo 27 2008
  • Change the color of a part using Python script

    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...
    Posted to Forum by Manuela on ke, elo 20 2008
Page 1 of 3 (21 items) 1 2 3 Next >