Jump to content

Need help with block insertion and ideas for auto-dimensioning.


aschiffer

Recommended Posts

Hey. I'm a novice as far as automating things in CAD and was wondering how difficult it would be to implement two things which would save me a heck of a lot of time.

 

1) I currently have to copy/paste a certain block to the midpoint of a bunch of line segments that exist on the same layer. Is it possible to populate these blocks at the midpoint of every line segment that exists on a specific layer?

 

2) Is there a method for dimensioning a bunch of line segments of a polyline automatically? I'm thinking something akin to clicking on the inside of a shape composed of a bunch of lines (sort of like when using the bpoly command) and rather than having it just return a polyline, it would also create aligned dimensions associated with the different line segments.

 

I apologize if either of these get asked about a lot, my AutoCAD knowledge is fairly basic and I'm just now exploring the idea that there's a better way to do things.

 

Thanks for any responses!

Link to comment
Share on other sites

1 very doable there was a post a few days ago about labeling lines it may have been Grr that provided a pretty good answer.

 

2 just search again its been posted here multiple times, Lee-mac,com has a nice one that produces all the properties of a pline.

Link to comment
Share on other sites

Sorry to disappoint you but the answer is not that simple BIGAL has missed the LT label in your profile, and the solutions he points to are probably using Lisp which isn't available in LT. The approach in LT would require the use of macro's, and then you will still need to pick each item individually. Your other option would be to use the list command on all the selected items, and extract the coordinate information using excel's filter, then use a bunch of other features to get at and work out the X and Y mid points of each line. After that create a concatenated list that uses those mid points to create a script that inserts blocks and or uses the dimaligned command to place dimensions at another offset point (again you need to work that out in a formula).

 

Yes doable, just not very quick, by the time you have it working you could probably have done it a dozen times manually, but is it fun - yeah I do this sort of thing daily, but only if it is for repeatable operations.

Link to comment
Share on other sites

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...