cancel
Showing results for 
Search instead for 
Did you mean: 
EN
cancel
Showing results for 
Search instead for 
Did you mean: 
Ady84a
Booster

python run script on selected elements

Hello everyone,

 

is there a way to run the python script only on the selected elements ?

 

best regards,

5 Replies 5
poco2013
Mentor

@Ady84a wrote:

Hello everyone,

is there a way to run the python script only on the selected elements ?

best regards,


No -- That ability was removed from the Python API in Archicad release 24. An alternate workaround, probably unacceptable, is to interrogate for the status of a custom property to identify which element is of interest.

Gerry

Windows 11 - Visual Studio 2022; ArchiCAD 27
Ady84a
Booster

Thank you Gerry, I was afraid of that... 

martinij
Booster

Isn't that a severe lack of feature?

Martin Isak Jansen
(I'm the one everyone at my company asks the tech questions)
www.artec.no
Ady84a
Booster

yes. a very simple logical feature is to be able to select things and run the script on. 

martinij
Booster

I made a new thread in the wishes forum about this.

https://community.graphisoft.com/t5/Wishes-forum/Run-python-script-on-selected-elements/m-p/321441#M...

Martin Isak Jansen
(I'm the one everyone at my company asks the tech questions)
www.artec.no

Didn't find the answer?

Check other topics in this Forum

Back to Forum

Read the latest accepted solutions!

Accepted Solutions

Start a new conversation!