Announcements
Attention for Customers without Multi-Factor Authentication or Single Sign-On - OTP Verification rolls out April 2025. Read all about it here.

Fifteen seconds to set a jointMotion limit value via a script using the API??

RogerInHawaii
Collaborator

Fifteen seconds to set a jointMotion limit value via a script using the API??

RogerInHawaii
Collaborator
Collaborator

I have a design that includes some revolute joints. In my C++ script I set the min and max values of some of those revolute joints, with code like this::

 

MyRevoluteJointMotion->rotationLimits()->minimumValue(GearAngleInRadians);

and it takes FIFTEEN SECONDS to complete that code. Checking the design afterwards shows that it has indeed successfully set the minimumValue as desired.

 

I can set the actual angle for the joint with code like this:

MyRevoluteJointMotion->rotationValue(AngleInRadians);

and it happens nearly instantaneously, as expected.

Now, these joints reside within Occurrences (i.e. instances) of a Component and not directly within a Component itself. Does that make a difference? Does it take a long time for it to do the setting of the min and max values when it's dealing with joints within an Occurrence?

Basically, why is it taking so long?

 

 

0 Likes
Reply
243 Views
0 Replies
Replies (0)