Imports Custom Object Presets from XML, XLSX, CSV or text files from folder. If parameter is empty, Import Folder dialog is shown to select the desired folder.
FUNCTION IFC_DefPsetImport(strFolderPath : STRING): BOOLEAN;def vs.IFC_DefPsetImport(strFolderPath):
return BOOLEAN| Name | Type | Description |
|---|---|---|
| strFolderPath | STRING | The path to the folder. If param is empty, Import Folder dialog is shown to select the desired folder. |
PROCEDURE PsetImport;
VAR
bOK : BOOLEAN
BEGIN
{We suggest that we are importing from an Presets.xml file that is located on D:\Vectorworks\Presets.xml}
bOK := IFC_DefPsetImport( 'D:\Vectorworks');
END;
RUN(PsetImport);==== Python ====
# We suggest that we are importing from an Presets.xml file that is located on D:\Vectorworks\Presets.xml
ok = vs.IFC_DefPsetImport( 'D:\Vectorworks');IFC_DefPsetBegin|IFC_DefPsetBegin IFC_DefPsetEnd|IFC_DefPsetEnd
IFC_DefPsetAddMember|IFC_DefPsetAddMember
Availability: from Vectorworks 2016
- IFC