Download WM Basic™ User`s Manual
Transcript
592
Working Model Basic User's Manual
Set B1 = Doc1.NewBody("Circle")
B1.radius.value = 2
B1.PX.Value = 3 : B1.PY.Value = 3
End Sub
See Also WMDocument (object), WMBody (object), WMDocument.ShowGridLines
(property)
WMDocument.NewConstraint (method)
Syntax
WMDocument.NewConstraint(type)
Description Creates a new constraint in the Working Model document, and returns the
corresponding WMConstraint object.
Comments The NewConstraint method takes the String parameter type, which
specifies the type of the constraint to be created. The value can be one of
the following.
Value
Description
Pin
SquarePin
Spring
Damper
SpringDamper
Rspring
Rdamper
Hslot
Vslot
KeyedHSlot
KeyedVSlot
CurvedSlot
Rod
Separator
Rope
Force
Torque
Pin joint.
Locked joint.
Spring.
Damper.
Spring-damper combination.
Rotational spring.
Rotational damper.
Horizontal slot joint.
Vertical slot joint.
Keyed horizontal slot joint.
Keyed vertical slot joint.
Curved slot joint.
Rod.
Separator.
Rope.
Force.
Torque.
Related documents
AP Basic Programming Guide
CIMPLICITY HMI Program Editor Operation Manual
Herbal Tutorial - Applied Cognitive Science Lab
W orking Model 2D
Working Model 2D Tutorial
CIMPLICITY BCE Language Reference Manual
Inscribe User's Guide
Aphelion User Guide
10 Gig Ethernet MAC User Guide
Installation-Didacticiel Aphelion