Over 1.106.000 registered users (EN+CZ).
AutoCAD tips, Inventor tips, Revit tips, Civil tips, Fusion tips.
Try the new precise Engineering calculator.
New AutoCAD 2026 commands and sys.variables and env.variables,.
Discussion forum
?CAD discussions, advices, exchange of experience
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.
This is a peer-to-peer forum. The forum doesn't replace the official direct technical support provided by ARKANCE for its customers.
How to post questions: register or login, go to the specific forum and click the NEW TOPIC button.
|
Post Reply
|
| Author | |
JestAs
Newbie
Joined: 13.Oct.2021 Location: Slovenia Using: Autocad Map 3d 2022 Status: Offline Points: 4 |
Topic: Replace block with non block objectPosted: 13.Oct.2021 at 13:24 |
|
Hi I need a lisp routine to replace block with non block object.....such as closed polyline or mpolygon, and preserve block's object data table.
I know it is possible to replace block with another block and preserve original OD ("ReplaceBlock.vlx" routine, found on this forum.) Is it possible? |
|
![]() |
|
Vladimir Michl
Moderator Group
Arkance Systems CZ Joined: 26.Jul.2007 Location: Czech Republic Using: Autodesk software Status: Offline Points: 2144 |
Posted: 13.Oct.2021 at 13:28 |
|
What should be the purpose of such replacement? Do you mean putting e.g. a hexagon in place of the former block reference? What is the difference to putting in a block containing a hexagon?
|
|
|
Vladimir Michl (moderator)
ARKANCE - https://arkance.world - Autodesk Platinum Partner |
|
![]() |
|
Kent Cooper
Senior Member
Joined: 12.Mar.2013 Location: United States Using: AutoCAD2020, 2023 Status: Offline Points: 686 |
Posted: 15.Oct.2021 at 22:48 |
|
What do you mean by "preserve block's object data table"? Part of that is the mere fact that it's a Block, which it can't be any more if you replace it with a non-Block object. Another part of that is an insertion point, which could possibly be relevant to its replacement, depending on what kind of object it is, but if it's a Polyline, the obvious entry would be for its first vertex, which may have no meaningful relationship to the Block's insertion point. Other parts that probably will not be relevant are scale factors, rotation angle, and Block name. So what about it do you hope to "preserve"?
|
|
![]() |
|
Post Reply
|
|
|
Tweet
|
| Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |
This page was generated in 0,117 seconds.
![CAD Forum - tips, tricks, discussion and utilities for AutoCAD, Inventor, Revit and other Autodesk products [www.cadforum.cz] CAD Forum - tips, tricks, discussion and utilities for AutoCAD, Inventor, Revit and other Autodesk products [www.cadforum.cz]](/common/arkance_186.png)


Replace block with non block object
Topic Options


