I’m attempting to write an importer for SketchUp, but I cannot change some parameters on some dynamic components, while I can change these on other dynamic components.
I’ve asked this question before in the following thread Changing parameters of dynamic components problems but @tt_su asked me to start a new thread for each of the issues I described there.
The issue is the following:
A small sample project (for windows) illustrating this problem can be downloaded here:
ExampleImporter.zip (19.5 KB)
In order to build this project, a directory containing the SDK should be added in a binaries directory in the same directory where the ExampleImporter directory resides.
All of the relevant code is located in the common directory of the project. The importing process starts from the Convert function in exampleImporter.cpp.
A release build of this project can be downloaded here:
exampleImporter.zip (13.5 KB)
This dll file should be placed in the Importers directory which is located in the installation directory of SketchUp.
In order to test the exporter any .txt file should be opened. This will trigger the importer, which will in turn download both components mentioned above and will try to change the lenz parameter of both. If successful the imported components will scale when redrawn from the dynamic components menu. You will notice that only the big frame will scale, but not the small cover.
Any help is greatly appreciated!