Sending custom data with model to LayOut

is it possible? As far as I understood, Layout does not have access to Sketchup::Model, so I can’t send data trouth attributes. But LO can read DC attributes. Are there any other ways?

There are some other attribute dictionaries LO can access.
The "SU_DefinitionSet" dictionary (attached to component definitions,) and the "SU_InstanceSet" dictionary (attached to component instances,) and well as classification dictionaries like the IFC dictionaries.

Unfortunately, the Layout API classes do not yet allow the direct attachment of attribute dictionaries.

However, you can open a .layout document from within the SketchUp API process and read attributes, etc., in the open SketchUp model, and do stuff in the LO document using what your code is reading in SketchUp. So if the open model in SketchUp is the same as the model in the LO viewport (ie, it’s reference) then “Bob’s your Uncle” (which means, "your all set for success.")


If you are more specific about what you are trying to achieve, we might be able to give more direction.

Thanks Dan. The answer is quite comprehensive