Jared Posted December 2, 2010 Posted December 2, 2010 I am trying to create a dynamic titleblock for several projects so i dont have to keep making the same one over and over. However the only problem i have is numbering the markers on the top of the title block. By using array i can create numbers in the block to array as i stretch the block however i can get them to ascend.. I was wondering if there was any way to do this, it would save alot of time instead of arraying the numbers then changing them manually or by the express tool autonumber. Check out the cad file, some projects can be over 200 inches so this would definatly save time Titleblock.dwg Quote
ccowgill Posted December 2, 2010 Posted December 2, 2010 Welcome and congrats on your first post. Is it possible to use a field that is associated to the dynamic property of the title block? so as you stretch it the numbers are modified? If you dont get an answer back soon, when I have some time I'll take a look at your titleblock and see if I can better understand what you are asking for. Quote
BIGAL Posted December 3, 2010 Posted December 3, 2010 (edited) Are you using these markers as grid references if so search for that "grid" its been done before, else pretty simple lisp ask length width how many text same with alpha characters. A block would have a fixed number of labelled attributes which could up date, stretching the block would not add more labels unless some one can show how a field would display or not depending on scale factor/length. Something like this (not tested) (setq pt1 (getpoint "\npick a point")) (setq dist (getreal "\nenter distance")) (setq howmany (getint "\nenter number required")) (setq x 1) (setvar "osmode" 0) (repeat howmany (setq ans (rtos x )) (command "text" pt1 2.5 0 ans ) (setq pt1 (polar pt1 0.0 dist)) (setq x (+ x 1)) ) (princ) Edited December 3, 2010 by BIGAL oops ang dist Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.