The Tshell class gives you access to thick shell cards in PRIMER. More...
The PRIMER JavaScript API provides many class constants, properties and methods. For Arup to
be able to extend and enhance the API in the future any constant, property or method names beginning with a lowercase
or uppercase letter are reserved.
If you need to add your own properties or methods to one of the existing classes then to avoid any potential future conflict you
should ensure that the name begins with either an underscore (_) or a dollar sign ($) or the name is prefixed with your
own unique identifier.
For example if company 'ABC' need to add a property called 'example' then to avoid any potential future conflict use one of:
| Name | Type | Description |
| beta | logical | If BETA option is set. |
| beta_angle | real | Angle for BETA option. |
| colour | Colour | The colour of the thick shell |
| composite | logical | If COMPOSITE option is set. Can be true or false |
| eid | integer | Tshell number. Also see the label property which is an alternative name for this. |
| exists (read only) | logical | true if thick shell exists, false if referred to but not defined. |
| include | integer | The Include file number that the thick shell is in. |
| label | integer | Tshell number. Also see the eid property which is an alternative name for this. |
| model (read only) | integer | The Model number that the thick shell is in. |
| n1 | integer | Node number 1 |
| n2 | integer | Node number 2 |
| n3 | integer | Node number 3 |
| n4 | integer | Node number 4 |
| n5 | integer | Node number 5 |
| n6 | integer | Node number 6 |
| n7 | integer | Node number 7 |
| n8 | integer | Node number 8 |
| nip | logical | Number of integration points for composite thick shell |
| nodes (read only) | integer | Number of nodes thick shell has |
| pid | integer | Part number |
| transparency | integer | The transparency of the thick shell (0-100) 0% is opaque, 100% is transparent. |
Detailed DescriptionThe Tshell class allows you to create, modify, edit and manipulate thich shell cards. See the documentation below for more details. |
Constructornew Tshell(Model[Model], eid[integer], pid[integer], n1[integer], n2[integer], n3[integer], n4[integer], n5[integer], n6[integer], n7 (optional)[integer], n8 (optional)[integer])DescriptionCreate a new Tshell object. Use either 6 or 8 nodes when creating a new thick shell. |
Model that thick shell will be created in
Tshell number
Part number
Node number 1
Node number 2
Node number 3
Node number 4
Node number 5
Node number 6
Node number 7
Node number 8
ReturnsTshell object Return typeTshell |
ExampleTo create a new thick shell in model m with label 100, part 10 and nodes 1, 2, 3, 4, 5, 6, 7, 8: var t = new Tshell(m, 100, 10, 1, 2, 3, 4, 5, 6, 7, 8);
|
Details of functionsAspectRatio()DescriptionCalculates the aspect ratio for the thick shell |
No arguments
Returnsreal Return typeNumber |
ExampleTo calculate the aspect ratio for thick shell t: var ratio = t.AspectRatio();
|
AssociateComment(Comment[Comment])DescriptionAssociates a comment with a thick shell. |
Comment that will be attached to the thick shell
ReturnsNo return value |
ExampleTo associate comment c to the thick shell t: t.AssociateComment(c);
|
Blank()DescriptionBlanks the thick shell |
No arguments
ReturnsNo return value |
ExampleTo blank thick shell t: t.Blank();
|
BlankAll(Model[Model], redraw (optional)[boolean]) [static]DescriptionBlanks all of the thick shells in the model. |
Model that all thick shells will be blanked in
If model should be redrawn or not. If omitted redraw is false. If you want to do several (un)blanks and only redraw after the last one then use false for all redraws apart from the last one. Alternatively you can redraw using View.Redraw().
ReturnsNo return value |
ExampleTo blank all of the thick shells in model m: Tshell.BlankAll(m);
|
BlankFlagged(Model[Model], flag[Flag], redraw (optional)[boolean]) [static]DescriptionBlanks all of the flagged thick shells in the model. |
Model that all the flagged thick shells will be blanked in
Flag set on the thick shells that you want to blank
If model should be redrawn or not. If omitted redraw is false. If you want to do several (un)blanks and only redraw after the last one then use false for all redraws apart from the last one. Alternatively you can redraw using View.Redraw().
ReturnsNo return value |
ExampleTo blank all of the thick shells in model m flagged with f: Tshell.BlankFlagged(m, f);
|
Blanked()DescriptionChecks if the thick shell is blanked or not. |
No arguments
Returnstrue if blanked, false if not. Return typeBoolean |
ExampleTo check if thick shell t is blanked: if (t.Blanked() ) do_something...
|
Browse(modal (optional)[boolean])DescriptionStarts an edit panel in Browse mode. |
If this window is modal (blocks the user from doing anything else in PRIMER until this window is dismissed). If omitted the window will be modal.
Returnsno return value |
ExampleTo Browse thick shell t: t.Browse();
|
ClearFlag(flag[Flag])DescriptionClears a flag on the thick shell. |
Flag to clear on the thick shell
ReturnsNo return value |
ExampleTo clear flag f for thick shell t: t.ClearFlag(f);
|
Copy(range (optional)[boolean])DescriptionCopies the thick shell. The target include of the copied thick shell can be set using Options.copy_target_include. |
If you want to keep the copied item in the range specified for the current include. Default value is false. To set current include, use Include.MakeCurrentLayer().
ReturnsTshell object Return typeTshell |
ExampleTo copy thick shell t into thick shell z: var z = t.Copy();
|
Create(Model[Model], modal (optional)[boolean]) [static]DescriptionStarts an interactive editing panel to create a thick shell |
Model that the thick shell will be created in.
If this window is modal (blocks the user from doing anything else in PRIMER until this window is dismissed). If omitted the window will be modal.
ReturnsTshell object (or null if not made). Return typeTshell |
ExampleTo start creating a thick shell in model m: var t = Tshell.Create(m);
|
DetachComment(Comment[Comment])DescriptionDetaches a comment from a thick shell. |
Comment that will be detached from the thick shell
ReturnsNo return value |
ExampleTo detach comment c from the thick shell t: t.DetachComment(c);
|
Edit(modal (optional)[boolean])DescriptionStarts an interactive editing panel. |
If this window is modal (blocks the user from doing anything else in PRIMER until this window is dismissed). If omitted the window will be modal.
Returnsno return value |
ExampleTo Edit thick shell t: t.Edit();
|
ElemCut(Database cross section label[integer])DescriptionReturns coordinates of the intersections between a thick shell and a database cross section. |
The label of the database cross section.
Returns |
Object with the following properties:
| Name | Type | Description |
| face1 | Array of reals | An array containing the x1,y1,z1,x2,y2,z2 coordinates of the cut line on the face 1. Null if no cut on this face. |
| face2 | Array of reals | An array containing the x1,y1,z1,x2,y2,z2 coordinates of the cut line on the face 2. Null if no cut on this face. |
| face3 | Array of reals | An array containing the x1,y1,z1,x2,y2,z2 coordinates of the cut line on the face 3. Null if no cut on this face. |
| face4 | Array of reals | An array containing the x1,y1,z1,x2,y2,z2 coordinates of the cut line on the face 4. Null if no cut on this face. |
| face5 | Array of reals | An array containing the x1,y1,z1,x2,y2,z2 coordinates of the cut line on the face 5. Null if no cut on this face. |
| face6 | Array of reals | An array containing the x1,y1,z1,x2,y2,z2 coordinates of the cut line on the face 6. Null if no cut on this face. |
object
Error(message[string], details (optional)[string])DescriptionAdds an error for thick shell. For more details on checking see the Check class. |
The error message to give
An optional detailed error message
ReturnsNo return value |
ExampleTo add an error message "My custom error" for thick shell t: t.Error("My custom error");
|
ExtractColour()DescriptionExtracts the actual colour used for thick shell. |
No arguments
Returnscolour value (integer) Return typeNumber |
ExampleTo return the colour used for drawing thick shell t: var colour = t.ExtractColour();
|
FindTshellInBox(Model[Model], xmin[real], xmax[real], ymin[real], ymax[real], zmin[real], zmax[real], flag (optional)[integer], excl (optional)[integer], vis_only (optional)[integer]) [static]DescriptionReturns an array of Tshell objects for the thick shells within a box. Please note this function provides a list of all thick shells that could potentially be in the box (using computationally cheap bounding box comparison) it is not a rigorous test of whether the thick shellis actually in the box. This may include tshells that are ostensibly outside box. The user should apply their own test. (this function is intended to provide an upper bound of elems to test) Setting the "excl" flag will require that the tshell is fully contained. but this may not capture all the tshells you want to process. |
Model designated model
Minimum bound in global x
Maximum bound in global x
Minimum bound in global y
Maximum bound in global y
Minimum bound in global z
Maximum bound in global z
Optional flag to restrict thick shells considered, if 0 all tshells considered
Optional flag ( 0) Apply inclusive selection ( 1) Apply exclusive selection inclusive selection means elements intersect box exclusive selection means elements contained in box
Optional flag to consider visible elements only (1), if (0) all elements considered
ReturnsArray of Tshell objects Return typeArray |
ExampleTo get an array of Tshell objects for flagged thick shells within defined box (inclusive selection) var s = Tshell.FindTshellInBox(m, xmin, xmax, ymin, ymax, zmin, zmax, flag, 0, 0);
|
First(Model[Model]) [static]DescriptionReturns the first thick shell in the model. |
Model to get first thick shell in
ReturnsTshell object (or null if there are no thick shells in the model). Return typeTshell |
ExampleTo get the first thick shell in model m: var t = Tshell.First(m);
|
FirstFreeLabel(Model[Model], layer (optional)[Include number]) [static]DescriptionReturns the first free thick shell label in the model. Also see Tshell.LastFreeLabel(), Tshell.NextFreeLabel() and Model.FirstFreeItemLabel(). |
Model to get first free thick shell label in
Include file (0 for the main file) to search for labels in (Equivalent to First free in layer in editing panels). If omitted the whole model will be used (Equivalent to First free in editing panels).
ReturnsTshell label. Return typeNumber |
ExampleTo get the first free thick shell label in model m: var label = Tshell.FirstFreeLabel(m);
|
FlagAll(Model[Model], flag[Flag]) [static]DescriptionFlags all of the thick shells in the model with a defined flag. |
Model that all thick shells will be flagged in
Flag to set on the thick shells
ReturnsNo return value |
ExampleTo flag all of the thick shells with flag f in model m: Tshell.FlagAll(m, f);
|
Flagged(flag[Flag])DescriptionChecks if the thick shell is flagged or not. |
Flag to test on the thick shell
Returnstrue if flagged, false if not. Return typeBoolean |
ExampleTo check if thick shell t has flag f set on it: if (t.Flagged(f) ) do_something...
|
ForEach(Model[Model], func[function], extra (optional)[any]) [static]DescriptionCalls a function for each thick shell in the model. |
Model that all thick shells are in
Function to call for each thick shell
An optional extra object/array/string etc that will appended to arguments when calling the function
ReturnsNo return value |
GetAll(Model[Model], property (optional)[string]) [static]DescriptionReturns an array of Tshell objects or properties for all of the thick shells in a model in PRIMER. If the optional property argument is not given then an array of Tshell objects is returned. If the property argument is given, that property value for each thick shell is returned in the array instead of a Tshell object |
Model to get thick shells from
Name for property to get for all thick shells in the model
ReturnsArray of Tshell objects or properties Return typeArray |
GetComments()DescriptionExtracts the comments associated to a thick shell. |
No arguments
ReturnsArray of Comment objects (or null if there are no comments associated to the node). Return typeArray |
ExampleTo get the array of comments associated to the thick shell t: var comm_array = t.GetComments();
|
GetCompositeData(ipt[integer])DescriptionReturns the composite data for an integration point in *ELEMENT_TSHELL_COMPOSITE. |
The integration point you want the data for. Note that integration points start at 0, not 1.
ReturnsAn array of numbers containing the material id, thickness and beta angle. Return typeNumber |
ExampleTo get the composite data for the 3rd integration point for thick shell t: if (t.composite && s.nip >= 3)
{
var ipt_data = t.GetCompositeData(2);
}
|
GetFlagged(Model[Model], flag[Flag], property (optional)[string]) [static]DescriptionReturns an array of Tshell objects for all of the flagged thick shells in a model in PRIMER If the optional property argument is not given then an array of Tshell objects is returned. If the property argument is given, then that property value for each thick shell is returned in the array instead of a Tshell object |
Model to get thick shells from
Flag set on the thick shells that you want to retrieve
Name for property to get for all flagged thick shells in the model
ReturnsArray of Tshell objects or properties Return typeArray |
GetFromID(Model[Model], number[integer]) [static]DescriptionReturns the Tshell object for a thick shell ID. |
Model to find the thick shell in
number of the thick shell you want the Tshell object for
ReturnsTshell object (or null if thick shell does not exist). Return typeTshell |
ExampleTo get the Tshell object for thick shell 100 in model m var t = Tshell.GetFromID(m, 100);
|
GetNodeIDs()DescriptionReturns the labels of the nodes on the thick shell as an array. See also Tshell.GetNodes() |
No arguments
ReturnsArray of node labels (integers) Return typeNumber |
ExampleTo return the node labels of thick shell t as an array var nodes = t.GetNodeIDs();
|
GetNodes()DescriptionReturns the nodes on the thick shell as an array of Node objects. See also Tshell.GetNodeIDs() |
No arguments
ReturnsArray of Node objects Return typeArray |
ExampleTo return the nodes of thick shell t as an array var nodes = t.GetNodes();
|
GetParameter(prop[string])DescriptionChecks if a Tshell property is a parameter or not. Note that object properties that are parameters are normally returned as the integer or float parameter values as that is virtually always what the user would want. For this function to work the JavaScript interpreter must use the parameter name instead of the value. This can be done by setting the Options.property_parameter_names option to true before calling the function and then resetting it to false afterwards.. This behaviour can also temporarily be switched by using the Tshell.ViewParameters() method and 'method chaining' (see the examples below). |
thick shell property to get parameter for
ReturnsParameter object if property is a parameter, null if not. Return typeParameter |
Jacobian()DescriptionCalculates the jacobian for the thick shell |
No arguments
Returnsreal Return typeNumber |
ExampleTo calculate the jacobian for thick shell t: var jacobian = s.Jacobian();
|
Keyword()DescriptionReturns the keyword for this thick shell (*ELEMENT_TSHELL or *ELEMENT_TSHELL_COMPOSITE). Note that a carriage return is not added. See also Tshell.KeywordCards() |
No arguments
Returnsstring containing the keyword. Return typeString |
ExampleTo get the keyword for thick shell t: var key = t.Keyword();
|
KeywordCards()DescriptionReturns the keyword cards for the thick shell. Note that a carriage return is not added. See also Tshell.Keyword() |
No arguments
Returnsstring containing the cards. Return typeString |
ExampleTo get the cards for thick shell t: var cards = t.KeywordCards();
|
Last(Model[Model]) [static]DescriptionReturns the last thick shell in the model. |
Model to get last thick shell in
ReturnsTshell object (or null if there are no thick shells in the model). Return typeTshell |
ExampleTo get the last thick shell in model m: var t = Tshell.Last(m);
|
LastFreeLabel(Model[Model], layer (optional)[Include number]) [static]DescriptionReturns the last free thick shell label in the model. Also see Tshell.FirstFreeLabel(), Tshell.NextFreeLabel() and see Model.LastFreeItemLabel() |
Model to get last free thick shell label in
Include file (0 for the main file) to search for labels in (Equivalent to Highest free in layer in editing panels). If omitted the whole model will be used.
ReturnsTshell label. Return typeNumber |
ExampleTo get the last free thick shell label in model m: var label = Tshell.LastFreeLabel(m);
|
Next()DescriptionReturns the next thick shell in the model. |
No arguments
ReturnsTshell object (or null if there are no more thick shells in the model). Return typeTshell |
ExampleTo get the thick shell in model m after thick shell t: var t = t.Next();
|
NextFreeLabel(Model[Model], layer (optional)[Include number]) [static]DescriptionReturns the next free (highest+1) thick shell label in the model. Also see Tshell.FirstFreeLabel(), Tshell.LastFreeLabel() and Model.NextFreeItemLabel() |
Model to get next free thick shell label in
Include file (0 for the main file) to search for labels in (Equivalent to Highest+1 in layer in editing panels). If omitted the whole model will be used (Equivalent to Highest+1 in editing panels).
ReturnsTshell label. Return typeNumber |
ExampleTo get the next free thick shell label in model m: var label = Tshell.NextFreeLabel(m);
|
Pick(prompt[string], limit (optional)[Model or Flag], modal (optional)[boolean], button text (optional)[string]) [static]DescriptionAllows the user to pick a thick shell. |
Text to display as a prompt to the user
If the argument is a Model then only thick shells from that model can be picked. If the argument is a Flag then only thick shells that are flagged with limit can be selected. If omitted, or null, any thick shells from any model can be selected. from any model.
If picking is modal (blocks the user from doing anything else in PRIMER until this window is dismissed). If omitted the pick will be modal.
By default the window with the prompt will have a button labelled 'Cancel' which if pressed will cancel the pick and return null. If you want to change the text on the button use this argument. If omitted 'Cancel' will be used.
ReturnsTshell object (or null if not picked) Return typeTshell |
ExampleTo pick a thick shell from model m giving the prompt 'Pick thick shell from screen': var t = Tshell.Pick('Pick thick shell from screen', m);
|
Previous()DescriptionReturns the previous thick shell in the model. |
No arguments
ReturnsTshell object (or null if there are no more thick shells in the model). Return typeTshell |
ExampleTo get the thick shell in model m before thick shell t: var t = t.Previous();
|
RemoveCompositeData(ipt[integer])DescriptionRemoves the composite data for an integration point in *ELEMENT_TSHELL_COMPOSITE. |
The integration point you want to remove. Note that integration points start at 0, not 1.
ReturnsNo return value. |
ExampleTo remove the composite data for the 3rd integration point for thick shell t: t.RemoveCompositeData(2);
|
RenumberAll(Model[Model], start[integer]) [static]DescriptionRenumbers all of the thick shells in the model. |
Model that all thick shells will be renumbered in
Start point for renumbering
ReturnsNo return value |
ExampleTo renumber all of the thick shells in model m, from 1000000: Tshell.RenumberAll(m, 1000000);
|
RenumberFlagged(Model[Model], flag[Flag], start[integer]) [static]DescriptionRenumbers all of the flagged thick shells in the model. |
Model that all the flagged thick shells will be renumbered in
Flag set on the thick shells that you want to renumber
Start point for renumbering
ReturnsNo return value |
ExampleTo renumber all of the thick shells in model m flagged with f, from 1000000: Tshell.RenumberFlagged(m, f, 1000000);
|
Select(flag[Flag], prompt[string], limit (optional)[Model or Flag], modal (optional)[boolean]) [static]DescriptionAllows the user to select thick shells using standard PRIMER object menus. |
Flag to use when selecting thick shells
Text to display as a prompt to the user
If the argument is a Model then only thick shells from that model can be selected. If the argument is a Flag then only thick shells that are flagged with limit can be selected (limit should be different to flag). If omitted, or null, any thick shells can be selected. from any model.
If selection is modal (blocks the user from doing anything else in PRIMER until this window is dismissed). If omitted the selection will be modal.
ReturnsNumber of thick shells selected or null if menu cancelled Return typeNumber |
SetCompositeData(ipt[integer], mid[integer], thick[real], beta[real])DescriptionSets the composite data for an integration point in *ELEMENT_TSHELL_COMPOSITE. |
The integration point you want to set the data for. Note that integration points start at 0, not 1.
Material ID for the integration point.
Thickness of the integration point.
Material angle of the integration point.
ReturnsNo return value. |
ExampleTo set the composite data for the 3rd integration point to mat 1, thickness 0.5 and angle 45, for thick shell t: t.SetCompositeData(2, 1, 0.5, 45);
|
SetFlag(flag[Flag])DescriptionSets a flag on the thick shell. |
Flag to set on the thick shell
ReturnsNo return value |
ExampleTo set flag f for thick shell t: t.SetFlag(f);
|
Sketch(redraw (optional)[boolean])DescriptionSketches the thick shell. The thick shell will be sketched until you either call Tshell.Unsketch(), Tshell.UnsketchAll(), Model.UnsketchAll(), or delete the model |
If model should be redrawn or not after the thick shell is sketched. If omitted redraw is true. If you want to sketch several thick shells and only redraw after the last one then use false for redraw and call View.Redraw().
ReturnsNo return value |
ExampleTo sketch thick shell t: t.Sketch();
|
SketchFlagged(Model[Model], flag[Flag], redraw (optional)[boolean]) [static]DescriptionSketches all of the flagged thick shells in the model. The thick shells will be sketched until you either call Tshell.Unsketch(), Tshell.UnsketchFlagged(), Model.UnsketchAll(), or delete the model |
Model that all the flagged thick shells will be sketched in
Flag set on the thick shells that you want to sketch
If model should be redrawn or not after the thick shells are sketched. If omitted redraw is true. If you want to sketch flagged thick shells several times and only redraw after the last one then use false for redraw and call View.Redraw().
ReturnsNo return value |
ExampleTo sketch all thick shells flagged with flag in model m: Tshell.SketchFlagged(m, flag);
|
Timestep()DescriptionCalculates the timestep for the thick shell |
No arguments
Returnsreal Return typeNumber |
ExampleTo calculate the timestep for thick shell t: var timestep = t.Timestep();
|
Total(Model[Model], exists (optional)[boolean]) [static]DescriptionReturns the total number of thick shells in the model. |
Model to get total for
true if only existing thick shells should be counted. If false or omitted referenced but undefined thick shells will also be included in the total.
Returnsnumber of thick shells Return typeNumber |
ExampleTo get the total number of thick shells in model m: var total = Tshell.Total(m);
|
Unblank()DescriptionUnblanks the thick shell |
No arguments
ReturnsNo return value |
ExampleTo unblank thick shell t: t.Unblank();
|
UnblankAll(Model[Model], redraw (optional)[boolean]) [static]DescriptionUnblanks all of the thick shells in the model. |
Model that all thick shells will be unblanked in
If model should be redrawn or not. If omitted redraw is false. If you want to do several (un)blanks and only redraw after the last one then use false for all redraws apart from the last one. Alternatively you can redraw using View.Redraw().
ReturnsNo return value |
ExampleTo unblank all of the thick shells in model m: Tshell.UnblankAll(m);
|
UnblankFlagged(Model[Model], flag[Flag], redraw (optional)[boolean]) [static]DescriptionUnblanks all of the flagged thick shells in the model. |
Model that the flagged thick shells will be unblanked in
Flag set on the thick shells that you want to unblank
If model should be redrawn or not. If omitted redraw is false. If you want to do several (un)blanks and only redraw after the last one then use false for all redraws apart from the last one. Alternatively you can redraw using View.Redraw().
ReturnsNo return value |
ExampleTo unblank all of the thick shells in model m flagged with f: Tshell.UnblankFlagged(m, f);
|
UnflagAll(Model[Model], flag[Flag]) [static]DescriptionUnsets a defined flag on all of the thick shells in the model. |
Model that the defined flag for all thick shells will be unset in
Flag to unset on the thick shells
ReturnsNo return value |
ExampleTo unset the flag f on all the thick shells in model m: Tshell.UnflagAll(m, f);
|
Unsketch(redraw (optional)[boolean])DescriptionUnsketches the thick shell. |
If model should be redrawn or not after the thick shell is unsketched. If omitted redraw is true. If you want to unsketch several thick shells and only redraw after the last one then use false for redraw and call View.Redraw().
ReturnsNo return value |
ExampleTo unsketch thick shell t: t.Unsketch();
|
UnsketchAll(Model[Model], redraw (optional)[boolean]) [static]DescriptionUnsketches all thick shells. |
Model that all thick shells will be unblanked in
If model should be redrawn or not after the thick shells are unsketched. If omitted redraw is true. If you want to unsketch several things and only redraw after the last one then use false for redraw and call View.Redraw().
ReturnsNo return value |
ExampleTo unsketch all thick shells in model m: Tshell.UnsketchAll(m);
|
UnsketchFlagged(Model[Model], flag[Flag], redraw (optional)[boolean]) [static]DescriptionUnsketches all flagged thick shells in the model. |
Model that all thick shells will be unsketched in
Flag set on the thick shells that you want to unsketch
If model should be redrawn or not after the thick shells are unsketched. If omitted redraw is true. If you want to unsketch several things and only redraw after the last one then use false for redraw and call View.Redraw().
ReturnsNo return value |
ExampleTo unsketch all thick shells flagged with flag in model m: Tshell.UnsketchAll(m, flag);
|
No arguments
ReturnsTshell object. Return typeTshell |
ExampleTo check if Tshell property t.example is a parameter by using the Tshell.GetParameter() method: if (t.ViewParameters().GetParameter(t.example) ) do_something...
|
Warning(message[string], details (optional)[string])DescriptionAdds a warning for thick shell. For more details on checking see the Check class. |
The warning message to give
An optional detailed warning message
ReturnsNo return value |
ExampleTo add a warning message "My custom warning" for thick shell t: t.Warning("My custom warning");
|
Warpage()DescriptionCalculates the warpage for the thick shell |
No arguments
Returnsreal Return typeNumber |
ExampleTo calculate the warpage for thick shell t: var warpage = s.Warpage();
|
Xrefs()DescriptionReturns the cross references for this thick shell. |
No arguments
ReturnsXrefs object. Return typeXrefs |
ExampleTo get the cross references for thick shell t: var xrefs = t.Xrefs();
|
toString()DescriptionCreates a string containing the thick shell data in keyword format. Note that this contains the keyword header and the keyword cards. See also Tshell.Keyword() and Tshell.KeywordCards(). |
No arguments
Returnsstring Return typeString |
ExampleTo get data for thick shell t in keyword format var str = t.toString();
|