Libraries & objects
About Archicad and BIMcloud libraries, their management and migration, objects and other library parts, etc.

Create a position descriptor with XML add-on

Anonymous
Not applicable
Hi

I can't perform to create a position descriptor with XML add-on

here is my code
!! Open file
chXml = OPEN ('XML', "Types_Profil_Bac_Acier.xml", "'r', 'l'")

!! New descriptor
INPUT(chXml, "NewPositionDesc", "ignored", posRoot)
archicad told me : "return function unused value"

I think that the problem come from the fieldID which must be ignored, and i don't know how to make this

i tried:
INPUT(chXml, "NewPositionDesc", "", posRoot)
INPUT(chXml, "NewPositionDesc", , posRoot)
INPUT(chXml, "NewPositionDesc", fieldID, posRoot)
INPUT(chXml, "NewPositionDesc", "fieldID", posRoot)
INPUT(chXml, "NewPositionDesc", posRoot)

nothing work, if you got an idea

i thought there is a lack of example in the GDL reference Guide
0 REPLIES 0