Preview | SOLIDWORKS USER FORUM
Use your SOLIDWORKS ID or 3DEXPERIENCE ID to log in.
BLBrendan L09/02/2009
Hello all,
I am trying to write a macro that gets a tip deflection on a wing structure with a given loading case. My thought process is that I need to obtain the nodes of the face at the tip of the wing and find the deflection at it. This led me to use the function: CWMesh->GetElementDataFromEntity . In trying to use this, I input a dispatch pointer to the entity of the face at the tip (from the SW model). The return for this is a NULL pointer.
Main Question:
Is there a difference in the type of entity that I am supposed to use as an input? Is it the SolidWorks entity?
I am trying to write a macro that gets a tip deflection on a wing structure with a given loading case. My thought process is that I need to obtain the nodes of the face at the tip of the wing and find the deflection at it. This led me to use the function: CWMesh->GetElementDataFromEntity . In trying to use this, I input a dispatch pointer to the entity of the face at the tip (from the SW model). The return for this is a NULL pointer.
Main Question:
Is there a difference in the type of entity that I am supposed to use as an input? Is it the SolidWorks entity?