几何尺寸与公差论坛

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

【转帖】drawingdoccreaterelativeview

[复制链接]
发表于 2009-4-12 20:43:52 | 显示全部楼层 |阅读模式
drawingdoc::createrelativeview
hello,
i am trying to use the drawingdoc::createrelativeview function to get a relative to model view. when i do it in the sw i have to select 2 faces that will be the front and the right orientation in the view. .how do i make it in the macro?
i was trying to record a macro and do it and it uses the selectbyid function and uses the xyz position of the face. how can i make it?
thanks,
does anyone knows how to use this function?
i have 2 faces selected like that:
set ent = facearr(facenum)
ent.select4 false, swseldata
but the function isn't working.
set pview = swdraw.createrelativeview(cmodel.getpathname, 0.14, 0.16, 0, 1)
returns pview = nothing...
what can be the problem?
quick
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2024-12-23 05:15 , Processed in 0.035030 second(s), 19 queries .

Powered by Discuz! X3.4 Licensed

© 2001-2023 Discuz! Team.

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