Take note: When creating a statement through API

Forum Forums Visual Components 4.0 Robot Programming Take note: When creating a statement through API

Be sure to read the Forum Rules and Guidelines before start using the Forum.

This topic contains 0 replies, has 1 voice, and was last updated by Jay Jay 8 months, 3 weeks ago.

Viewing 1 post (of 1 total)
  • Author
  • #3481

    When creating statements programmatically through the API, the following sequence should be followed to ensure that the information is consistent.

    1. Set the Base property.
    2. Set the Tool property
    3. Set the ExternalTcp property (using property setter which is equivalent to calling SetExternalTcp with keepWorldPosition == true).
    4. Set the Target property.
    5. Set the Configuration property (for joint motion statements only.)
    6. Call SetJoints to set the individual joint values.

    The IMotionTarget object can be used to compute these values.

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.