LT2024 Autolisp Help (is this possible?)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi don't know anything about autolisp, so before i start trying to learn it, can i achieve the follow with one:-
(we use a block with a text attribute, which has the following info "product code/product length", to measure lengths of cable, normally this is edited manually after we read the total length of a polyline representing that cable product)
is there a way i can write a command that would do the following
1. place the block at cursor click (assume i would have a block set for each different product code)
2. select object > length > Round up > +1000mm (select the polyline the above block relates too)
3. pass the final length back to the block in the text attribute
typically we have 100+ of these cable products on a layout, so being able to place the product block and simply clicking on the relevant polyline to automate the measuring would be amazing
Is this achievable with autolisp, or is there no way for it to pass the rounded field to the block attribute?
Cheers
[ The subject line of this post has been edited for clarity by @pendean Original: Autolisp Help (is this possible?)]