几何尺寸与公差论坛

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

【转帖】create pointline location adjustment problem

[复制链接]
发表于 2009-4-12 20:34:12 | 显示全部楼层 |阅读模式
create point/line location adjustment problem
i want to create a point here
part.clearselection2(true)
dim skpoint as sketchpoint
skpoint = part.createpoint2(-0.1, -6, 0)
but it takes wrong coordinate can u tell me what is the reason why i an not able to specify exact position.
regards,
aqeel
edited: 02/14/2009 at 12:45 am by aqeel ahmed
try sketchmanager.createpoint ( x, y, z)
thanx luke,
problem is when i draw point on a fresh sketch it works fine but if i already have a few line in a sketch then it starts giving me wrong locations even same case is with line i have a horizontal line in sketch and when i draw a vertical line from (0,0,0) it takes some other points.
so what can i do to overcome this issue.
regards,
turn off tools -> sketch settings -> automatic solve and automatic relations
or with code
part.userfavors
part.sketchmanager.autosolve = false
part.sketchmanager.autoinference = false
thanx ivana i m inspired, this is working now,if u don't mind can i have ur chat id for immediate reply.....
regards,
aqeel
quick
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

Powered by Discuz! X3.4 Licensed

© 2001-2023 Discuz! Team.

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