几何尺寸与公差论坛

 找回密码
 注册
查看: 769|回复: 0

【转帖】cosmosworks api questions

[复制链接]
发表于 2009-4-12 20:32:35 | 显示全部楼层 |阅读模式
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
您需要登录后才可以回帖 登录 | 注册

本版积分规则

QQ|Archiver|小黑屋|几何尺寸与公差论坛

GMT+8, 2024-12-23 09:29 , Processed in 0.034623 second(s), 19 queries .

Powered by Discuz! X3.4 Licensed

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表