|
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 |
|