- How to navigate on SCDM for scripting ?
- How to access the different objects in SCDM by scripting (Solid, Faces, Edge etc.)?

Simple case
Let’s started with a very simple example: if your tree looks like this example :- 3 independent bodies

- Body, Faces etc. are the things stored in Acis kernel. Acis uses it to do all the geometry operations (Booleans)
- DesignBody, DesignFaces, etc. are the SCDM version of Body, Faces etc. For body : It holds the Body (use designBody.Shape to get the body), and all the Information SpaceClaim needs for the body that Acis doesn’t (id, name, color, etc.)
Complicated Case

- If you want to access in a Component you can use :
GetRootPart.Components[0].Content - If you want to access in a Component in a component, you can use in
GetRootPart.Components[0].Components[0].Content - If you want to go in Components in a Components you have to use
GetRootPart().Components[0]etc.
- When you create a component, it can be a Duplicated component. So, if you modify something inside the component, it’s also be modified in the others duplicated components
- So, SCDM, always creates a Part General and a Part. The methods applied on the part, will affect all the Objects and the method applied on 1 PartGeneral will only affect this Object
- You can use .Master to go from the PartGeneral to the Part!
- The common information are in the Part (with DesignBody Bodies etc.) and the “local” information are in the PartGeneral

- The TrimmedSpace allows you to query info (Volume, Surface Area, etc.), but you can’t do geometry operations (the kernel doesn’t know about the TrimmedSpace, it only knows about the Body). The TrimmedSpace is necessary because the Body and TrimmedSpace may not be in the same location (depending on the transform of the component).
- Any type with “General” in the name comes from a component. A component is essentially just a transform and pointer to a master — it is structured this way so that you can create copies of parts without duplicating data. Similarly, you can think of a DesignBodyGeneral as a transform and a pointer to the master (DesignBody). When you call “.Shape” on a DesignBody you get the modeler body (type = Body). When you call “.Shape” on a DesignBodyGeneral you get a “graphical” copy of the modeler body (type = TimmedSpace).