AutoCAD Architecture Customization
Welcome to Autodesk’s AutoCAD Architecture Customization Forums. Share your knowledge, ask questions, and explore popular AutoCAD Architecture Customization topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Script question

1 REPLY 1
Reply
Message 1 of 2
Logos_Atum
264 Views, 1 Reply

Script question

Hello there,

 

I´m trying to write a script to convert all the blocks in a drawing to mass elements

and export them to IGES thereafter.

 

I would like to select everything first. Then launch refedit and select all the blocks.

Aftaer that I would like to convert them to mass elements. When saving to IGES I

would need to select everything again.

 

I pieced the following script together, but it fails. I think it is bexause of the request to

select objects manually. Could I add a delay which would enable me to select an object?

 

Also it looks like ACADA is not accepting the "all" command when pselect is called by a

script.

 

 

---

 

PICKFIRST 1

select

All

efedit

OK

A

N

_AecMassElementConvert

ALL

_REFCLOSE

_SAV

_EXPORT

all

 

---

 

 

Any help is greatly appreciated

 

 

Kind regards

 

Daniel

 

 

Dogs aren´t flammable.
1 REPLY 1
Message 2 of 2
Logos_Atum
in reply to: Logos_Atum

Hello there,

 

perhaps I will switch to a macro. This would rule out the

user input issue and I could integrate it in the UI I guess.

 

Kind regards

 

Daniel

Dogs aren´t flammable.

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

Post to forums  

Autodesk Design & Make Report

”Boost