RigidBodyAnalysis Parameters

RigidBodyAnalysis Parameters

Anonymous
Not applicable
478 Views
1 Reply
Message 1 of 2

RigidBodyAnalysis Parameters

Anonymous
Not applicable

The API help mentions a RigidBodyAnalysis method in the overview page for AssemblyComponentDefinitions (*), but the members page does not list it. The signature is

 

RigidBodyResultsPtr AssemblyComponentDefinition::MethodRigidBodyAnalysis (
    struct NameValueMap * Options,
    const _variant_t & UniqueOccurrences,
    const _variant_t & UniqueOccurrenceSettings )

 

what are the three parameters of that method and how should i call it?

 

(*) From the API help, AssemblyComponentDefinition overview page:

"Execution of this method does not modify the assembly in any way but instead provides a simplified view of the existing assembly. It does this by creating logical groups of occurrences whose constraints fully constrain them to one another. For any motion analysis, each group behaves as a single rigid body. In addition to determining these groups of parts, the analysis also determines which constraints define relationships between the groups. These constraints are presented as joints. In some cases a joint can be the result of more than one assembly constraint, so there is not necessarily a one-to-one relationship between joints and constraints."

0 Likes
479 Views
1 Reply
Reply (1)
Message 2 of 2

YuhanZhang
Autodesk
Autodesk

This Inventor API was hide and we don't recommend users to use it. If you want to know the degrees of freedom of an occurrence, you can try the ComponentOccurrence.GetDegreesOfFreedom and if you want to know the constraints between an occurrence and other ones, you can use the ComponentOccurrrence.Constraints.  Please let us know if we can help more.



If this solves the problem please click ACCEPT SOLUTION so other people can find it easily.



Rocky Zhang
Inventor API PD
Manufacturing Solutions
Autodesk, Inc.

0 Likes