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

Inserting blocks with macro

3 REPLIES 3
Reply
Message 1 of 4
tjverdin
692 Views, 3 Replies

Inserting blocks with macro

Hey guys I am having trouble getting a simple macro to browse insert a block. My file path looks like this.

 


 L:/Acad Blocks/Blocks_(SEPCO)/STRUCTURAL/2013_SEPCo_Blocks/WELD_FILLET.dwg

 

Any help is mucho appreciated.

3 REPLIES 3
Message 2 of 4
Alfred.NESWADBA
in reply to: tjverdin

Hi,

 

>> I am having trouble getting a simple macro to browse insert a block

to browse ... or to insert?

And what troubles do you have, error message, crash, ...?

 

Just to start, what about that:

 

   (command "_-INSERT" "L:/Acad Blocks/Blocks_(SEPCO)/STRUCTURAL/2013_SEPCo_Blocks/WELD_FILLET.dwg")

 

- alfred -

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

Thanks Alfred I'll try that tomorrow. I was trying ("_-insert" "block=.... And another one and could get the block to insert but it kept replacing the previous one. I knew it had to be much simpler than what I was doing. Thanks I'm sure it will work.

Terrell
Message 4 of 4
Charles_Shade
in reply to: tjverdin

A simple Macro for a Block entity; does not redefine:

-Insert;C:/Blocks/Dynamic/Dyn-Mas_Pl-Vent;\;;;

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

Post to forums  

Autodesk Design & Make Report

”Boost