Anuncios

The Autodesk Community Forums has a new look. Read more about what's changed on the Community Announcements board.

Kent1Cooper
en respuesta a: Anonymous


@Anonymous wrote:

.... I want to achieve a scenario whereby I could click on a block, and a 3d polyline would be drawn from it's insertion point to a perpendicular point on a polyline (within a given area) from the block.

 

Would this be achievable? What would be the best language to use to achieve this? ....


Depending on what you mean by "(within a given area)," that might be achievable with a mere command macro, i.e. if the User would pick for that perpendicular point.  Perhaps something [untested] as simple as this:

 

^C^C3DPoly INS \PER \;

 

[That would end the 3DPolyline after the perpendicular, but if you want to continue from there, omit the semicolon at the end, or even the space and last backslash and semicolon.]

 

But if the "given area" would be somehow pre-defined or saved into a variable or something, or if you want it specialized such as to have a particular prompt used, or if you want the User to be asked again if they miss on either pick or don't pick on a Block or something, the AutoLisp suggestion would be better.

Kent Cooper, AIA