bim:loadprofilexml


(bim:loadprofilexml  profileXmlFile  [ updateExisting ] )

Loads the profile(s) from specified xml 'profileXmlFile' file into the current drawing;
if 'updateExisting' is not NIL, any existing profile is updated with the loaded definition, otherwise only new profile(s) are added to the current drawing.

Arguments

profileXmlFile  the XML file containing one or more profile definitions;
for this filename argument, the normal (findfile) mechanism is applied

updateExisting  if specified as non-NIL, all existing profile definitions are replaced and updated with the imported profile(s) (this is the default, if the argument is omitted);
if specified as NIL, only new profile(s) are imported

Return

T is import was successful, NIL indicates an error (i.e. the file was not found)

Example

(bim:loadprofilexml "MyCustomProfile.xml") => T if import succeeded

Remarks

the LDSP package contains a sub-folder ./BIM which contains sample XML files, and a template file



©  Bricsys NV. All rights reserved.