Hi,
I want to display a page when open a skp file, such as the following pic.
There is an old COM interface can use: m_pDocument->GetModel()->GetPages()->AddPage(pName)->SetCamera (camera).
Is there also a function in current C API?
Thanks,
Peter
Hi,
I want to display a page when open a skp file, such as the following pic.
Thanks,
Peter
Are there any functions to use? I want to write the information to a skp file.
Do not use this old interface anymore.
Use the SUApplicationGetActiveModel function since SketchUp 2019.2, API 7.1.
Then from that active model reference use: