Quantcast
Channel: ArchiCAD-Talk - Developer Forum
Viewing all articles
Browse latest Browse all 564

Get the Type ID and Variation ID from API_LibPart

$
0
0
Author:gehairing
Posted: Fri Feb 12, 2016 9:08 am (GMT+1)


Hello the forum Smile

I download library parts and insert them in Archicad projects.
To do the job correctly i need to know what is exactly the library part.
(a stair, a window, a door, a wall...)

For the moment i have this info in xml side-car files so i know exactly the type of the library part. I can fill in the "element.header.typeID" and "element.header.variationID" based on the data i have in my XML side-car.

But...

For some of my library parts i don't have the XML data so i don't know the type of the libpart.

How can i find "element.header.typeID" and "element.header.variationID" from a API_LibPart ?

I have the "API_LibTypeID" but this is not enough. By example, i can't know that a libpart is a "stair" by example.


Viewing all articles
Browse latest Browse all 564

Trending Articles