Community
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.
I think you need to set the BasePoint property of your Jig.
I mean, the base point of the "Pick next point" input... Setup a PromptPointOptions class and set the BasePoint=_point and UseBasePoint=True
Can't find what you're looking for? Ask the community or share your knowledge.