roberts.matthew.h
2009-03-24, 08:31 PM
In all seriousness, I've decided to poke around here for some help.
I'm trying to make a dynamic block (or lisp, if it must be) for inserting coordinates on plan drawings for my company. I've done a loooooooot of looking around, and haven't really been able to find much useful information to accomplish my goal. After some direction from the Autodesk forums, I figured I'd come here and see what, if anything, could be suggested. Here's my procedural process list (someone said I should make one) on how I imagine it would work. Attached is examples of the different "blocks" I would need to make, so far in as just the text & CenterLine symbol. It's just to show what our standards look like for labeling centerlines, as well as buildings, fenceposts, and other such things.
Thanks for your help in advance!!!
1) User runs Lisp or says Insert block.
2) User picks point in paper space, on top of viewport, for example, the centerline of a westwardly running pipe.
3) Point goes "into" viewport and ID's that point, based off an origin of 0,0,0.
4) Point returns an X & Y location to the block.
5) In the block, the N. text populates with the Y location, in a format according to standard:
(If Y>0, N. x+xx'-x", if Y0, E. x+xx'-x", if X<0, W. x+xx'-x")
7) Block completes insertion.
I'm trying to make a dynamic block (or lisp, if it must be) for inserting coordinates on plan drawings for my company. I've done a loooooooot of looking around, and haven't really been able to find much useful information to accomplish my goal. After some direction from the Autodesk forums, I figured I'd come here and see what, if anything, could be suggested. Here's my procedural process list (someone said I should make one) on how I imagine it would work. Attached is examples of the different "blocks" I would need to make, so far in as just the text & CenterLine symbol. It's just to show what our standards look like for labeling centerlines, as well as buildings, fenceposts, and other such things.
Thanks for your help in advance!!!
1) User runs Lisp or says Insert block.
2) User picks point in paper space, on top of viewport, for example, the centerline of a westwardly running pipe.
3) Point goes "into" viewport and ID's that point, based off an origin of 0,0,0.
4) Point returns an X & Y location to the block.
5) In the block, the N. text populates with the Y location, in a format according to standard:
(If Y>0, N. x+xx'-x", if Y0, E. x+xx'-x", if X<0, W. x+xx'-x")
7) Block completes insertion.