cancel
Showing results for 
Search instead for 
Did you mean: 
EN
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Adding an Element question

Hey, It's your new favourite newbie again

I have another question: Let's say that I created a new composite and I want programatically to draw 1m of it at the center of the screen. Is this possible, because I can't find anything similar in the Element_test example add-on?

Thanks in advance,
Julian
1 Reply 1
Akos Somorjai
Graphisoft
Graphisoft
jcimentarov wrote:
Hey, It's your new favourite newbie again

I have another question: Let's say that I created a new composite and I want programatically to draw 1m of it at the center of the screen. Is this possible, because I can't find anything similar in the Element_test example add-on?

Thanks in advance,
Julian
Welcome, fellow newbie developer

The composite in itself is an attribute, so you cannot draw it directly to the floor plan, it has to be assigned to some building element. So: create a 1m wall which refers to that composite (set the 'composite' data member in API_WallType to the attribute index of the newly created composite attribute), and you'll see what you want.

Best, Akos

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!