.NET
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Problem Jig and Snap

2 REPLIES 2
Reply
Message 1 of 3
Anonymous
467 Views, 2 Replies

Problem Jig and Snap

Hi,
i coded a simple utility that allow you to quote an angle with the DrawJig.
In the sampler i have this code

PromptPointResult ppr = prompts.AcquirePoint("Insert second point");
if (ppr.Value.DistanceTo(_point) < 0.01)
return SamplerStatus.NoChange;
if (ppr.Status == PromptStatus.OK)
_point = ppr.Value;
return SamplerStatus.OK;

I can't explain the problem well so i posted the gif, i don't know why but the snap doesn't work.

2 REPLIES 2
Message 2 of 3
fenton.webb
in reply to: Anonymous

I think you need to set the BasePoint property of your Jig.




Fenton Webb
AutoCAD Engineering
Autodesk

Message 3 of 3
fenton.webb
in reply to: fenton.webb

I mean, the base point of the "Pick next point" input... Setup a PromptPointOptions class and set the BasePoint=_point and UseBasePoint=True




Fenton Webb
AutoCAD Engineering
Autodesk

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk DevCon in Munich May 28-29th


Autodesk Design & Make Report

”Boost