Community
AutoCAD LT Forum
Welcome to Autodesk’s AutoCAD LT Forums. Share your knowledge, ask questions, and explore popular AutoCAD LT topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Automatically dividing up a polyline

3 REPLIES 3
Reply
Message 1 of 4
Anonymous
737 Views, 3 Replies

Automatically dividing up a polyline

Please, can anyone tell me how I can divide up a polyline into equal segments, with a marker block at each point with text that automatically increments by 1 at each insertion? Possibly also offsetting the original pline so that the markers can be aligned perpendicular to the original line? If this is not clear, what I am trying to do is mark out the chainage along the centre-line of a road in 100m intervals; using 'measure' and inserting blocks at each individual point takes forever.
Also, I can't always get plines to join, even if they have been drawn in the same session, on the same UCS and on the same layer, with same linetype, width etc. Any suggestions?
3 REPLIES 3
Message 2 of 4
Anonymous
in reply to: Anonymous

"pate" wrote in message
news:ef2ae4b.-1@WebX.SaUCah8kaAW...
> Please, can anyone tell me how I can divide up a polyline into equal
segments, with a marker block at each point with text that automatically
increments by 1 at each insertion?<

Try the DIVIDE command. It has an option to insert a block.

Enjoy,
Stef
--
mailto: yodersj@ipass.net || Drafter, Leather-worker
http://www.ipass.net/~yodersj/ || Dos, Win, LT
RFC 1855, section 3.1.1, item 10 at http://www.faqs.org/rfcs/
Message 3 of 4
Anonymous
in reply to: Anonymous

Thanks, Stef, I will ue the block option next time. Do you know a way of automating the text attribute to increment by 1 all along the line?
It is very tedious editing block attributes one by one 445 times. Thanks for yooour help, somehow I blanked out the 'block' option when using 'divide'. Thick, or what? Pat.
Message 4 of 4
Anonymous
in reply to: Anonymous

"pate" wrote in message
news:ef2ae4b.1@WebX.SaUCah8kaAW...
> Thanks, Stef, I will ue the block option next time. Do you know a way of
automating the text attribute to increment by 1 all along the line?<

For number's here's what I do:
Button1: ^C^C_setvar;userr1;1;
This sets the variable USERR1, user-real-number, to 1 as my applications
require starting from 1. This can also be done by typing in USERR1 at the
command prompt, which is what I do rather than have a button.

Now for what does the job: (warning - join at the + for toolbar button)
*^C^C_attedit;y;*;*;*;\;_value;_replace;$m=$(getvar,userr1);;+
_setvar;userr1 ;$(+,1,$(getvar,userr1));

You'll still have to pick each attribute, but the macro auto-repeats so it
is quicker.

Enjoy,
Stef
--
mailto: yodersj@ipass.net || Drafter, Leather-worker
http://www.ipass.net/~yodersj/ || Dos, Win, LT
RFC 1855, section 3.1.1, item 10 at http://www.faqs.org/rfcs/

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

Post to forums  

Technology Administrators


Autodesk Design & Make Report