-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Layout Ruby API is missing the Update Model Reference feature #590
Comments
I thought sure that this was mentioned before and logged, but I cannot find it. |
Sounds like a duplicate of #324 (do I read this correctly?) |
They are not necessarily related. The mentioned issue talks about the path. Which is only tangentially relevant here. The (I would not resist having the path attribute exposed, even though it would not help this issue.) Currently the only way to programmatically update a SketchUpModel Entity in Layout is to remove it and instantiate it. And as mentioned, the procedure is bugged. |
I would myself prefer dedicated method(s) to refresh the viewport rather than a 2nd boolean "refresh" argument with a We would expect a |
Logged as: SKEXT-3180 |
Logged as: SKEXT-3181 |
Use Case
A SketchUp Extension wants to modify a SketchUp file which is referenced by a Layout file.
The Layout Document needs to be told to update it's SketchUpModel Entities.
After that a PDF Export of the updated Layout file is performed.
Missing Feature
To update the SketchUpModel references in the Layout Document currently there is no option to perform a "Update Model References" like there is in the UI.
Example function names
Layout::SketchUpModel.update_model_references
and
Layout::SketchUpModel.relink_model_references
Current Workaround
A Workaround to this is to remove the SketchUpModel Entity and to insert it again.
However that workaround is buggy as described in this bug report
The text was updated successfully, but these errors were encountered: