2024 Technology Preview Program:
Master powerful new features and shape the latest BIM-enabled innovations
2 weeks ago
Hi,
Is there a way to import SKP via code (using existing functionality, without writing my own skp importer)? Or at least call the SKP importer directly using ACAPI_Command_Call? I've found some examples for DXF / DWG operations, so I hope we can get the related IDs / sample somehow, if the SKP import functionality is accessible from another addon.
Thanks!
Solved! Go to Solution.
a week ago - last edited a week ago
Hello,
Yes, this is possible. Please note that this is a private interface to the add-on, so it may change any time; always test before you try to call it.
The command is called 'LOAD', its version is 1. Parameters:
Name | Type | Meaning |
"path" | [in] string | path to the .skp file to load |
"originalFileName" | [in] string; optional | name for the created object; the name of the SKP file is used if not supplied |
"LibIndex" | [out] int | the index of the created library part |
The MDID of the add-on is {1198731108, 2994444117}.
Best, Akos
a week ago - last edited a week ago
Hello,
Yes, this is possible. Please note that this is a private interface to the add-on, so it may change any time; always test before you try to call it.
The command is called 'LOAD', its version is 1. Parameters:
Name | Type | Meaning |
"path" | [in] string | path to the .skp file to load |
"originalFileName" | [in] string; optional | name for the created object; the name of the SKP file is used if not supplied |
"LibIndex" | [out] int | the index of the created library part |
The MDID of the add-on is {1198731108, 2994444117}.
Best, Akos
a week ago
Thanks, it works!