Brendan L

CosmosWorks Macro help

Discussion created by Brendan L on Feb 9, 2009
Latest reply on Feb 9, 2009 by 1-34CXKG
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?

Outcomes