Model.positiondummy#
- Model.positiondummy(collectorentity, x, y, z)#
Positions the components of a dummy.
- Parameters:
collectorentity (Entity) – The object describing the entity selected that recognizes the dummy. Valid entities are components.
x (double) – The x-coordinate to which the dummy is translated.
y (double) – The y-coordinate to which the dummy is translated.
z (double) – The z-coordinate to which the dummy is translated.
Example#
Translate a dummy , use any collector belong to the dummy ( and is part of the parent / child system ) and select the x , y , and z coordinates to position it to#import hm import hm.entities as ent model = hm.Model() model.positiondummy(collectorentity=ent.Component(model, 1), x=0.0, y=3.0, z=0.0)