cancel
Showing results for 
Search instead for 
Did you mean: 
EN
cancel
Showing results for 
Search instead for 
Did you mean: 
ge25yak
Participant

Get elements with assosicated label/dimension

Hi, I'm trying to get elements that have labels or dimension from 2d floorplan. Any ideas how to do this?

 

1 Reply 1

Hi!

You could iterate through the labels & dimensions and access their parents / owner elements.

  • For labels the information is in labelElement.label.parent
  • For dimensions it's a bit more tricky. You'll have to iterate through the API_DimBase entries in the memo. There you can access then the parent elements via dimElem.base.base.guid

Best,
Bernd

 

Automating Archicad with Add-Ons, GDL-Objects & Python Archi-XT.com

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!