PolyBeam
Class PolyBeam()
PolyBeam(parent='MODEL', name='PolyBeam_n', label='PolyBeam_n', active=True, 
points=[None, None], ID=0, OD=0, density=0, E=0, G=0, as_=0, cratio=0)A polybeam is modeled as a number of beam segments connecting intermediate bodies created internally by MotionView.
Keyword Arguments
| Argument | Data Type | Description | Default | 
|---|---|---|---|
| name | String | The variable name. | PolyBeam_n, for next available integer n. | 
| label | String | The descriptive label. | PolyBeam_n, for next available integer n. | 
| parent | Object | The parent. | MODEL | 
| active | Boolean | Used to activate or deactivate this entity. | True | 
| points | list | The points that describe the polybeam. | [None, None] | 
| ID | Double | The inner diameter of the cross section. | 0 | 
| OD | Double | The outer diameter of the cross section. | 0 | 
| density | Double | The density. | 0 | 
| E | Double | The Young's modulus. | 0 | 
| G | Double | The shear modulus. | 0 | 
| as | Double | The shear correction factor. | 0 | 
| cratio | Double | Input needed. | 0 | 
Instances
| Instance | Type | Description | 
|---|---|---|
| color_mat | ColorMat | The color_mat instance to modify color properties. | 
Notes
1. The parent parameter can only be initialized by the constructor and should not be modified directly.
2. Only parent can be used as a positional argument in the constructor.
3. Instance is a reference to an entity. You cannot modify an instance, but can modify its properties.