|
cosmosworks api questions
i am trying to write a macro that gathers information about the tip displacement of a wing. the macro is written in c++ and uses the com interface. the function i need to use is:
status = cwresults->getdisplacementforentities ( ncomponent, nstepnumber, dispplane, arrayselectedentities, nunits, errorcode, &retval)
looking further at the api i am not sure of 2 things for this function:
1. the dispplane is a "dispatch pointer to reference entity" - what does that mean in this instance?
2. the arrayselectedentities is an "array of selected entities" of type variant. what is the variant type needed for this specific function - if someone could give me a simple example to go by that would be extremely helpful (just on how to make the variant really).
regards,
brendan
quick |
|