CAD Forum - Database of tips, tricks and utilities for AutoCAD, Inventor and other Autodesk products [www.cadforum.cz]
Czech English Deutsch
Login/Register:
 Visitors: 5058 
RSS tips RSS channel - CAD tips
RSS discussion RSS channel - CAD discussion

Discussion Discussion forum

HelpCAD discussion

CAD Forum - Homepage CAD discussion forum - ask any CAD-related questions here, share your CAD knowledge on AutoCAD, Inventor, Revit and other Autodesk software with your peers from all over the world. To start a new topic, choose an appropriate forum.

Please abide by the rules of this forum.

How to post questions: register or login, go to the specific forum and click the NEW TOPIC button.
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

The information that you provide in this form will make up your forum profile which can be viewed by other forum members. Your email address will only be visible by forum admin and moderators and will be used to send you Forum Notifications. To cancel your account, use the page Opt-out or contact webmaster@cadforum.cz.

Convert similar or repeating shapes into blocks

 Post Reply Post Reply
Author
elciotanaka View Drop Down
Newbie
Newbie


Joined: 11.Dec.2013
Location: Brazil
Using: 2010
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote elciotanaka Quote  Post ReplyReply Direct Link To This Post Topic: Convert similar or repeating shapes into blocks
    Posted: 30.May.2018 at 16:09
Hello!

I have a fully exploded drawing of many machines and equipments that is very hard to handle because the equipments are very complex and detailed, causing autocad to freeze everytime.

I'm trying to find a lisp that is able to scan the drawing for similar group of shapes, and convert them into blocks.

Thank you!
Back to Top
Kent Cooper View Drop Down
Senior Member
Senior Member


Joined: 12.Mar.2013
Location: United States
Using: AutoCAD, Architectural Desktop
Status: Offline
Points: 418
Post Options Post Options   Thanks (0) Thanks(0)   Quote Kent Cooper Quote  Post ReplyReply Direct Link To This Post Posted: 31.May.2018 at 20:16
I don't want to be too discouraging, but I doubt you'll find one.  It would mean comparing every object in the drawing separately to every other object, looking at relative position and size and linetype and possibly Layer and so on and on, and compounding that with comparing each to multiple-object groups of potentially-related objects, and keeping track of what relationships have been identified.  When you add in the possibility that some of the machines, etc., were likely rotated at different angles, it becomes hugely more complicated.
 
I think if a Block had been made of a very few simple pieces with an easily defined relationship [e.g. a Circle with a Line across it whose length matches the Circle's diameter and whose midpoint is at the Circle's center], there might be some hope of finding such pairings, but the complexity of the problem expands exponentially as the number of objects increases, and it sounds from your description like such a routine would have untold millions if not billions or trillions of comparisons to make and keep track of.
Back to Top

Related CAD tips:


 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down



This page was generated in 0,234 seconds.