Skip to content

Latest commit

 

History

History
50 lines (39 loc) · 1.25 KB

File metadata and controls

50 lines (39 loc) · 1.25 KB

IFC_DefPsetImport

Description

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

Parameters

Name Type Description
strFolderPath STRING The path to the folder. If param is empty, Import Folder dialog is shown to select the desired folder.

Examples

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');

See Also

IFC_DefPsetBegin|IFC_DefPsetBegin IFC_DefPsetEnd|IFC_DefPsetEnd

IFC_DefPsetAddMember|IFC_DefPsetAddMember

Version

Availability: from Vectorworks 2016

Category

  • IFC