Use the NewIdealization command to add a new idealization.
Available idealization types include the following:
| Idealization Type | Value |
| Solid | 2 |
| Shell | 1 |
| Line | 0 |
For solid idealization types, the NewIdealization command appears as follows:
strCmdForNewIdealization = "<NewIdealization Name=""<Idealization Name>"" ID=""<Idealization ID>"" Type=""<Idealization Type>2"" AddToFEModel=""1"" Color=""<Hex Color code in Decimal>" CoordinateSystemID=""<Coordinate System ID>"" MaterialID=""<Material ID>"" EntitiesCount=""0""/>"
For example:
strCmdForNewIdealization = "<NewIdealization Name=""Solid 1"" ID=""1"" Type=""2"" AddToFEModel=""1"" Color=""11087083"" CoordinateSystemID=""0"" MaterialID=""1"" EntitiesCount=""0""/>"
For shell idealization types, the NewIdealization command appears as:
strCmdForNewIdealization = "<NewIdealization Name=""<Idealization Name>"" ID=""<Idealization ID>"" Type=""<Idealization Type>1"" AddToFEModel=""1"" Color=""<Hex Color code in Decimal>"" CoodinateSystemID=""<Coordinate System ID>"" MaterialID=""<Material ID>"" Thickness=""<Thickness>[m]"" EntitiesCount=""0""/>"
For example:
strCmdForNewIdealization = "<NewIdealization Name=""Shell 1"" ID=""2"" Type=""1"" AddToFEModel=""1"" Color=""11087083"" CoodinateSystemID=""0"" MaterialID=""1"" Thickness=""0.1"" EntitiesCount=""0""/>"
For line idealization types, the NewIdealization command appears as follows:
strCmdForNewIdealization = "<NewIdealization Name=""<Idealization Name>"" ID=""<Idealization ID>"" Type=""<Idealization Type>"" LineElementType=""<Element Type>"" InputType=""<Input Type>"" ShapeType=""<Shape ID>"" HasTapperedBeam=""0"" DIM1_EndA=""<Length>[m]"" DIM2_EndA=""<Length>[m]"" DIM3_EndA=""<Length>[m]"" DIM4_EndA=""<Length>[m]"" HasAssociatedGeo=""0"" PreLoadType=""<Preload>[N]"" OffsetType=""<Offset Type>"" AddToAnalysis=""1"" Color=""<Hex Color code in Decimal>" CoordinateSystemID=""<Coordinate System ID>"" MaterialID=""<Material ID>"" EntitiesCount=""0""/>"
Available line element types include the following:
| Line Element Type | Value |
| Bar | 0 |
| Beam | 1 |
| Pipe | 2 |
Available input types include the following:
| Input Type | Value |
| Cross Section | 2 |
| Property | 1 |
| Structural Member | 0 |
Available shape types include the following:
| Shape Type | Value |
| Rod | 0 |
| Tube | 1 |
| I | 2 |
| I1 | 3 |
| CHAN | 4 |
| CHAN1 | 5 |
| CHAN2 | 6 |
| T | 7 |
| T1 | 8 |
| T2 | 9 |
| Cross | 10 |
| Bar | 11 |
| Box | 12 |
| Box1 | 13 |
| H | 14 |
| HEXA | 15 |
| Z | 16 |
| HAT | 17 |
| HAT1 | 18 |
| L | 19 |
Available offset types include the following:
| Offset Type | Value |
| Centroid | 0 |
| Shear Center | 1 |
| Reference Point | 2 |
For example:
strCmdForNewIdealization = "<NewIdealization Name=""Line Elements"" ID=""1"" Type=""0"" LineElementType=""1"" InputType=""2"" ShapeType=""12"" HasTapperedBeam=""0"" DIM1_EndA=""0.1016[m]"" DIM2_EndA=""0.1016[m]"" DIM3_EndA=""0.00635[m]"" DIM4_EndA=""0.00635[m]"" HasAssociatedGeo=""0"" PreLoadType=""0"" OffsetType=""0"" AddToAnalysis=""1"" Color=""11087083"" CoordinateSystemID=""0"" MaterialID=""1"" EntitiesCount=""0""/>"