Community
AutoCAD Forum
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Block name?

6 REPLIES 6
SOLVED
Reply
Message 1 of 7
Anonymous
3622 Views, 6 Replies

Block name?

Its been a little while since I used Autocad so sorry for asking.

 

I have a block selected and I go to its propeties to see its name.

 

Under Misc -> Name : *U1848.  

 

But when I go to insert block  thats not the name of the block.  So that information under propeties name isnt the real name ? Or is it because of something else that I dont know of ? How to find its "real" name

 

Thanks for the help.

6 REPLIES 6
Message 2 of 7
Alfred.NESWADBA
in reply to: Anonymous

Hi,

 

blocknames starting with an asterik are called "anonymous blocks" and are used only for AutoCAD internal use (for objects needed to be created in runtime, e.g. results of dynamic blocks).

These blocks can only be used by AutoCAD, by applications, but not manually for INSERT.

 

- alfred -

------------------------------------------------------------------------------------
Alfred NESWADBA
Ingenieur Studio HOLLAUS ... www.hollaus.at ... blog.hollaus.at ... CDay 2024
------------------------------------------------------------------------------------
(not an Autodesk consultant)
Message 3 of 7
Kent1Cooper
in reply to: Anonymous

Is it a Dynamic Block?  If so, I assume you are looking for its "Effective Name."  You can try this extract, which checks whether the EffectiveName property is available for that Block [it checks because just asking for that will fail in older versions that don't have dynamic Blocks] -- if so, it gets that [and here, stores it in the blkname variable]; if not, it gets just the regular Block name:

 

(vl-load-com); if needed

(setq
  blkobj (vlax-ename->vla-object (car (entsel "\nSelect Block: ")))
  blkname
    (vlax-get-property blkobj
      (if (vlax-property-available-p blkobj 'EffectiveName) 'EffectiveName 'Name)
    ); ...get-property & blkname
); setq

Kent Cooper, AIA
Message 4 of 7
Anonymous
in reply to: Kent1Cooper

The thing is that I got this dwg file and noone knows how it has been draw before. Dont have any contact with the previous drawer of the file. So I have to figure out what each block has as a name. So i can easily insert that block again if I want to add more.  But yeah thats why  I was asking how I can easily get to know the blocked they created before hand. Because i dont have any information.  

 

The only solution for me now is to   'Add a block'   and on block list just go 1 for 1 and look on the thumbnail and see what kind of block it is and the name and so on until I find the right one. 

 

Abit time consuming so thats why it would have been so much easier if the block had the right name under its properties information.... 

Message 5 of 7
Moshe-A
in reply to: Anonymous

Christopher hi,

 

I agree with Alfred. if the name you see in property is '*Unnn' then this is a simple Anonymous block (you can not INSERT it)

if it is a dynamic block? the property it will show you the real block name (the Effective name)

 

Moshe

 

 

 

Message 6 of 7
Alfred.NESWADBA
in reply to: Anonymous

Hi,

 

>> So I have to figure out what each block has as a name. So i can easily insert that block again if I want to add more

Just as info, if you already have a block (not an anonymous one) in the drawing and you need to reinsert it, you don't need the _INSERT command again, you can use the COPY command or the "Add Selected" option (command _ADDSELECTED) in the context menu for a selected geometry object (also none block objects, e.g. starts also the _PLINE command and uses the same pline properties like layername):

 

ACAD2015_AddSelected_AN01.gif

 

- alfred -

------------------------------------------------------------------------------------
Alfred NESWADBA
Ingenieur Studio HOLLAUS ... www.hollaus.at ... blog.hollaus.at ... CDay 2024
------------------------------------------------------------------------------------
(not an Autodesk consultant)
Message 7 of 7
Anonymous
in reply to: Alfred.NESWADBA

Yeah copying is easy just wanted to get the name so I knew more about the drawing and what names they used for each furniture. Thought perhaps there was an option for that I guess not.

 

Thanks for the replies people , much appreciated 🙂

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

Post to forums  

Autodesk Design & Make Report

”Boost