Optional colorThe optional color to set to override the DMU colors. 'restoreDMUColors' is used to reset the DMU color to their origin in case a previous WorkingSet3DExportInterface would have set a specific color for the parts belonging to the intersection of the given working sets.
Optional ignoreThe optional boolean to set to tell the working set should ignore cut planes.
Default state is false.
Optional isThe optional boolean to set to tell the working set should be displayed ghosted.
Default state is false.
Optional transformsThe optional transforms to apply to each geometric instance inside this WorkingSetInterface. This may contain matrices or explosions to apply to each geometric instance inside this WorkingSetInterface.
transforms size is limited to maximum 64 items.
Note: transforms are cumulated from left to right (first transforms[0], then transforms[1], etc ....).
The given working set to export.
The WorkingSet2DExportInterface interface defines the data included in a export procedure called by DataSessionInterface.export2D or DataSessionInterface.exportSVG.
Only WorkingSetInterface may be included in a export procedure, individual geometric instance ids cannot be exported.
It consists in a WorkingSetInterface, parameters from WorkingSet3DExportInterface, an optional boolean telling the data is ghosted and a boolean telling if the geometries will ignore cut planes.
or asynchronously :
or asynchronously :
Please make sure the destination browser supports promises before using async calls.
See