Imports Custom Object Presets from XML, XLSX, CSV or text files. If parameter is empty, Import File dialog is shown to select the desired file.
FUNCTION IFC_DefPsetImport2(strFilePath : STRING): BOOLEAN;def vs.IFC_DefPsetImport2(strFilePath):
return BOOLEAN| Name | Type | Description |
|---|---|---|
| strFilePath | STRING | The path to the file. If param is empty, Import File dialog is shown to select the desired file. |
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_DefPsetImport2( 'D:\Vectorworks\Presets.xml');
END;
RUN(PsetImport);# We suggest that we are importing from an Presets.xml file that is located on D:\Vectorworks\Presets.xml
ok = vs.IFC_DefPsetImport2( 'D:\Vectorworks\Presets.xml');Availability: from Vectorworks 2023 SP6