Method ReplaceWithObject
ReplaceWithObject(string, string, HandingType, int, int, int, bool)
Replaces all the selected objects in the scene with newly placed objects from a catalog.
Declaration
public void ReplaceWithObject(string сatalogFilename, string articleRef, Scene.Object.HandingType handingType, int width, int depth, int height, bool opened)
Parameters
| Type | Name | Description |
|---|---|---|
| string | сatalogFilename | Filename of the catalog from which the replacing object will come. |
| string | articleRef | Reference of the replacing object. |
| Scene.Object.HandingType | handingType | Handing for replacing object. |
| int | width | Width of the replacing object. |
| int | depth | Depth of the replacing object. |
| int | height | Height of the replacing object. |
| bool | opened | Specifies whether replacing object is placed in its open visual state or in closed one. |
Remarks
The replacing article is placed with the width, depth and height dimensions and at the exact location and angle
of the objects being replaced.