iCAx开思工具箱

 找回密码
 立即注册

QQ登录

只需一步,快速开始

查看: 24295|回复: 0
打印 上一主题 下一主题

How can I get the "Last user defined annotation plane "

[复制链接]
跳转到指定楼层
楼主
发表于 2011-11-24 17:33:15 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式

马上注册登录,享用更多网站功能!

您需要 登录 才可以下载或查看,没有帐号?立即注册

x
When creating a pmi dimension, we can define its annotation plane in many ways,one of them is "Last user defined annotation plane "
right now, I want to get "Last user defined annotation plane " in my program, using
Xform xform = Session.GetSession().Parts.Work.Annotations.GetDefaultAnnotationPlane(NXOpen.Annotations.PmiDefaultPlane.Last);
but exception occurs, the error message is "Input is wrong.".
if I change the parameter,
Xform xform = Session.GetSession().Parts.Work.Annotations.GetDefaultAnnotationPlane(NXOpen.Annotations.PmiDefaultPlane.XyOfWcs);
It works fine!
Maybe I should set the annotation plane first,but I don't know the method either.
Can anybody help?
Thanks in advance.

分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
收藏收藏 分享淘帖 支持支持
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

手板模型制作,在线3D打印服务

QQ|小黑屋|手机版|开思工具箱 CAD工具箱_CAM工具箱  

GMT+8, 2024-11-27 09:53 , Processed in 0.017083 second(s), 17 queries , Gzip On, Redis On.

Powered by Discuz! X3.3

© 2002-2024 www.iCAx.org

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