Oasys.PRIMER.IGA1DNurbsXYZ class¶
Properties¶
- property IGA1DNurbsXYZ.exists(read only): boolean¶
true if IGA 1D Nurbs XYZ exists, false if referred to but not defined
- property IGA1DNurbsXYZ.label: integer¶
IGA1DNurbsXYZnumber. Also see thepatchidproperty which is an alternative name for this
- property IGA1DNurbsXYZ.nr: integer¶
Number of control points in the local r-direction
- property IGA1DNurbsXYZ.patchid: integer¶
IGA1DNurbsXYZnumber. Also see thelabelproperty which is an alternative name for this
- property IGA1DNurbsXYZ.pr: integer¶
Polynomial degree of the basis in the local r-direction
- property IGA1DNurbsXYZ.rfirst: float¶
First knot value in the local r-direction
- property IGA1DNurbsXYZ.rlast: float¶
Last knot value in the local r-direction
- property IGA1DNurbsXYZ.unir: integer¶
Knot vector type in the local r-direction
Constructor¶
- classmethod IGA1DNurbsXYZ(model, details)¶
Create a new
IGA1DNurbsXYZobject
- Parameters:
model (Model) –
Modelthat IGA 1d nurbs xyz will be created indetails (dict) –
Details for creating the
IGA1DNurbsXYZ
- nr (optional):
(integer) Number of control points in the local r-direction
- patchid:
(integer) ID of the IGA 1D Nurbs XYZ
- pr (optional):
(integer) Polynomial degree of the basis in the local r-direction
- unir (optional):
(integer) Knot vector type in the local r-direction
- Returns:
IGA1DNurbsXYZ object
- Return type:
IGA1DNurbsXYZ
Example
To create a new IGA 1d nurbs xyz in model m of id 10:
ig1x = Oasys.PRIMER.IGA1DNurbsXYZ(m, {'patchid':10})To create a new IGA 1d nurbs xyz in model m of id 10 with nr, pr, unir as 2, 3, 4:
ig1x = Oasys.PRIMER.IGA1DNurbsXYZ(m, {'patchid':10, 'nr':2, 'pr':3, 'unir':4})
Static methods¶
- classmethod IGA1DNurbsXYZ.Create(model, modal=Oasys.gRPC.defaultArg)¶
Starts an interactive editing panel to create a IGA 1D Nurbs XYZ
- Parameters:
model (Model) –
Modelthat the IGA 1D Nurbs XYZ will be created inmodal (boolean) – Optional. 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
- Returns:
IGA1DNurbsXYZ object (or None if not made)
- Return type:
IGA1DNurbsXYZ
Example
To start creating a IGA 1D Nurbs XYZ in model m:
ig1x = Oasys.PRIMER.IGA1DNurbsXYZ.Create(m)
- classmethod IGA1DNurbsXYZ.First(model)¶
Returns the first IGA 1D Nurbs XYZ in the model
- Parameters:
model (Model) –
Modelto get first IGA 1D Nurbs XYZ in- Returns:
IGA1DNurbsXYZ object (or None if there are no IGA 1D Nurbs XYZs in the model)
- Return type:
IGA1DNurbsXYZ
Example
To get the first IGA 1D Nurbs XYZ in model m:
ig1x = Oasys.PRIMER.IGA1DNurbsXYZ.First(m)
- classmethod IGA1DNurbsXYZ.FirstFreeLabel(model, layer=Oasys.gRPC.defaultArg)¶
Returns the first free IGA 1D Nurbs XYZ label in the model. Also see
IGA1DNurbsXYZ.LastFreeLabel(),IGA1DNurbsXYZ.NextFreeLabel()andModel.FirstFreeItemLabel()
- Parameters:
- Returns:
IGA1DNurbsXYZ label
- Return type:
int
Example
To get the first free IGA 1D Nurbs XYZ label in model m:
label = Oasys.PRIMER.IGA1DNurbsXYZ.FirstFreeLabel(m)
- classmethod IGA1DNurbsXYZ.FlagAll(model, flag)¶
Flags all of the IGA 1D Nurbs XYZs in the model with a defined flag
- Parameters:
model (Model) –
Modelthat all IGA 1D Nurbs XYZs will be flagged inflag (Flag) – Flag to set on the IGA 1D Nurbs XYZs
- Returns:
No return value
- Return type:
None
Example
To flag all of the IGA 1D Nurbs XYZs with flag f in model m:
Oasys.PRIMER.IGA1DNurbsXYZ.FlagAll(m, f)
- classmethod IGA1DNurbsXYZ.GetAll(model, property=Oasys.gRPC.defaultArg)¶
Returns a list of IGA1DNurbsXYZ objects or properties for all of the IGA 1D Nurbs XYZs in a model in PRIMER. If the optional property argument is not given then a list of IGA1DNurbsXYZ objects is returned. If the property argument is given, that property value for each IGA 1D Nurbs XYZ is returned in the list instead of a IGA1DNurbsXYZ object
- Parameters:
model (Model) –
Modelto get IGA 1D Nurbs XYZs fromproperty (string) – Optional. Name for property to get for all IGA 1D Nurbs XYZs in the model
- Returns:
List of IGA1DNurbsXYZ objects or properties
- Return type:
list
Example
To make a list of IGA1DNurbsXYZ objects for all of the IGA 1D Nurbs XYZs in model m:
a = Oasys.PRIMER.IGA1DNurbsXYZ.GetAll(m)To return a list containing the value of property ‘foo’ (for example ‘x’ for a node) for each IGA 1D Nurbs XYZ in model m:
a = Oasys.PRIMER.IGA1DNurbsXYZ.GetAll(m, 'foo')
- classmethod IGA1DNurbsXYZ.GetFlagged(model, flag, property=Oasys.gRPC.defaultArg)¶
Returns a list of IGA1DNurbsXYZ objects for all of the flagged IGA 1D Nurbs XYZs in a model in PRIMER If the optional property argument is not given then a list of IGA1DNurbsXYZ objects is returned. If the property argument is given, then that property value for each IGA 1D Nurbs XYZ is returned in the list instead of a IGA1DNurbsXYZ object
- Parameters:
model (Model) –
Modelto get IGA 1D Nurbs XYZs fromflag (Flag) – Flag set on the IGA 1D Nurbs XYZs that you want to retrieve
property (string) – Optional. Name for property to get for all flagged IGA 1D Nurbs XYZs in the model
- Returns:
List of IGA1DNurbsXYZ objects or properties
- Return type:
list
Example
To make a list of IGA1DNurbsXYZ objects for all of the IGA 1D Nurbs XYZs in model m flagged with f:
ig1x = Oasys.PRIMER.IGA1DNurbsXYZ.GetFlagged(m, f)To return a list containing the value of property ‘foo’ (for example ‘x’ for a node) for all of the IGA 1D Nurbs XYZs in model m flagged with f:
a = Oasys.PRIMER.IGA1DNurbsXYZ.GetFlagged(m, f, 'foo')
- classmethod IGA1DNurbsXYZ.GetFromID(model, number)¶
Returns the IGA1DNurbsXYZ object for a IGA 1D Nurbs XYZ ID
- Parameters:
model (Model) –
Modelto find the IGA 1D Nurbs XYZ innumber (integer) – number of the IGA 1D Nurbs XYZ you want the IGA1DNurbsXYZ object for
- Returns:
IGA1DNurbsXYZ object (or None if IGA 1D Nurbs XYZ does not exist)
- Return type:
IGA1DNurbsXYZ
Example
To get the IGA1DNurbsXYZ object for IGA 1D Nurbs XYZ 100 in model m
ig1x = Oasys.PRIMER.IGA1DNurbsXYZ.GetFromID(m, 100)
- classmethod IGA1DNurbsXYZ.Last(model)¶
Returns the last IGA 1D Nurbs XYZ in the model
- Parameters:
model (Model) –
Modelto get last IGA 1D Nurbs XYZ in- Returns:
IGA1DNurbsXYZ object (or None if there are no IGA 1D Nurbs XYZs in the model)
- Return type:
IGA1DNurbsXYZ
Example
To get the last IGA 1D Nurbs XYZ in model m:
ig1x = Oasys.PRIMER.IGA1DNurbsXYZ.Last(m)
- classmethod IGA1DNurbsXYZ.LastFreeLabel(model, layer=Oasys.gRPC.defaultArg)¶
Returns the last free IGA 1D Nurbs XYZ label in the model. Also see
IGA1DNurbsXYZ.FirstFreeLabel(),IGA1DNurbsXYZ.NextFreeLabel()and seeModel.LastFreeItemLabel()
- Parameters:
- Returns:
IGA1DNurbsXYZ label
- Return type:
int
Example
To get the last free IGA 1D Nurbs XYZ label in model m:
label = Oasys.PRIMER.IGA1DNurbsXYZ.LastFreeLabel(m)
- classmethod IGA1DNurbsXYZ.NextFreeLabel(model, layer=Oasys.gRPC.defaultArg)¶
Returns the next free (highest+1) IGA 1D Nurbs XYZ label in the model. Also see
IGA1DNurbsXYZ.FirstFreeLabel(),IGA1DNurbsXYZ.LastFreeLabel()andModel.NextFreeItemLabel()
- Parameters:
- Returns:
IGA1DNurbsXYZ label
- Return type:
int
Example
To get the next free IGA 1D Nurbs XYZ label in model m:
label = Oasys.PRIMER.IGA1DNurbsXYZ.NextFreeLabel(m)
- classmethod IGA1DNurbsXYZ.RenumberAll(model, start)¶
Renumbers all of the IGA 1D Nurbs XYZs in the model
- Parameters:
model (Model) –
Modelthat all IGA 1D Nurbs XYZs will be renumbered instart (integer) – Start point for renumbering
- Returns:
No return value
- Return type:
None
Example
To renumber all of the IGA 1D Nurbs XYZs in model m, from 1000000:
Oasys.PRIMER.IGA1DNurbsXYZ.RenumberAll(m, 1000000)
- classmethod IGA1DNurbsXYZ.RenumberFlagged(model, flag, start)¶
Renumbers all of the flagged IGA 1D Nurbs XYZs in the model
- Parameters:
model (Model) –
Modelthat all the flagged IGA 1D Nurbs XYZs will be renumbered inflag (Flag) – Flag set on the IGA 1D Nurbs XYZs that you want to renumber
start (integer) – Start point for renumbering
- Returns:
No return value
- Return type:
None
Example
To renumber all of the IGA 1D Nurbs XYZs in model m flagged with f, from 1000000:
Oasys.PRIMER.IGA1DNurbsXYZ.RenumberFlagged(m, f, 1000000)
- classmethod IGA1DNurbsXYZ.Select(flag, prompt, limit=Oasys.gRPC.defaultArg, modal=Oasys.gRPC.defaultArg)¶
Allows the user to select IGA 1D Nurbs XYZs using standard PRIMER object menus
- Parameters:
flag (Flag) – Flag to use when selecting IGA 1D Nurbs XYZs
prompt (string) – Text to display as a prompt to the user
limit (Model or Flag) – Optional. If the argument is a
Modelthen only IGA 1D Nurbs XYZs from that model can be selected. If the argument is aFlagthen only IGA 1D Nurbs XYZs that are flagged with limit can be selected (limit should be different to flag). If omitted, or None, any IGA 1D Nurbs XYZs can be selected. from any modelmodal (boolean) – Optional. 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
- Returns:
Number of IGA 1D Nurbs XYZs selected or None if menu cancelled
- Return type:
int
Example
To select IGA 1D Nurbs XYZs from model m, flagging those selected with flag f, giving the prompt ‘Select IGA 1D Nurbs XYZs’:
Oasys.PRIMER.IGA1DNurbsXYZ.Select(f, 'Select IGA 1D Nurbs XYZs', m)To select IGA 1D Nurbs XYZs, flagging those selected with flag f but limiting selection to IGA 1D Nurbs XYZs flagged with flag l, giving the prompt ‘Select IGA 1D Nurbs XYZs’:
Oasys.PRIMER.IGA1DNurbsXYZ.Select(f, 'Select IGA 1D Nurbs XYZs', l)
- classmethod IGA1DNurbsXYZ.SketchFlagged(model, flag, redraw=Oasys.gRPC.defaultArg)¶
Sketches all of the flagged IGA 1D Nurbs XYZs in the model. The IGA 1D Nurbs XYZs will be sketched until you either call
IGA1DNurbsXYZ.Unsketch(),IGA1DNurbsXYZ.UnsketchFlagged(),Model.UnsketchAll(), or delete the model
- Parameters:
model (Model) –
Modelthat all the flagged IGA 1D Nurbs XYZs will be sketched inflag (Flag) – Flag set on the IGA 1D Nurbs XYZs that you want to sketch
redraw (boolean) – Optional. If model should be redrawn or not after the IGA 1D Nurbs XYZs are sketched. If omitted redraw is true. If you want to sketch flagged IGA 1D Nurbs XYZs several times and only redraw after the last one then use false for redraw and call
View.Redraw()- Returns:
No return value
- Return type:
None
Example
To sketch all IGA 1D Nurbs XYZs flagged with flag in model m:
Oasys.PRIMER.IGA1DNurbsXYZ.SketchFlagged(m, flag)
- classmethod IGA1DNurbsXYZ.Total(model, exists=Oasys.gRPC.defaultArg)¶
Returns the total number of IGA 1D Nurbs XYZs in the model
- Parameters:
model (Model) –
Modelto get total forexists (boolean) – Optional. true if only existing IGA 1D Nurbs XYZs should be counted. If false or omitted referenced but undefined IGA 1D Nurbs XYZs will also be included in the total
- Returns:
number of IGA 1D Nurbs XYZs
- Return type:
int
Example
To get the total number of IGA 1D Nurbs XYZs in model m:
total = Oasys.PRIMER.IGA1DNurbsXYZ.Total(m)
- classmethod IGA1DNurbsXYZ.UnflagAll(model, flag)¶
Unsets a defined flag on all of the IGA 1D Nurbs XYZs in the model
- Parameters:
model (Model) –
Modelthat the defined flag for all IGA 1D Nurbs XYZs will be unset inflag (Flag) – Flag to unset on the IGA 1D Nurbs XYZs
- Returns:
No return value
- Return type:
None
Example
To unset the flag f on all the IGA 1D Nurbs XYZs in model m:
Oasys.PRIMER.IGA1DNurbsXYZ.UnflagAll(m, f)
- classmethod IGA1DNurbsXYZ.UnsketchAll(model, redraw=Oasys.gRPC.defaultArg)¶
Unsketches all IGA 1D Nurbs XYZs
- Parameters:
model (Model) –
Modelthat all IGA 1D Nurbs XYZs will be unblanked inredraw (boolean) – Optional. If model should be redrawn or not after the IGA 1D Nurbs XYZs 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()- Returns:
No return value
- Return type:
None
Example
To unsketch all IGA 1D Nurbs XYZs in model m:
Oasys.PRIMER.IGA1DNurbsXYZ.UnsketchAll(m)
- classmethod IGA1DNurbsXYZ.UnsketchFlagged(model, flag, redraw=Oasys.gRPC.defaultArg)¶
Unsketches all flagged IGA 1D Nurbs XYZs in the model
- Parameters:
model (Model) –
Modelthat all IGA 1D Nurbs XYZs will be unsketched inflag (Flag) – Flag set on the IGA 1D Nurbs XYZs that you want to unsketch
redraw (boolean) – Optional. If model should be redrawn or not after the IGA 1D Nurbs XYZs 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()- Returns:
No return value
- Return type:
None
Example
To unsketch all IGA 1D Nurbs XYZs flagged with flag in model m:
Oasys.PRIMER.IGA1DNurbsXYZ.UnsketchAll(m, flag)
Instance methods¶
- IGA1DNurbsXYZ.AssociateComment(comment)¶
Associates a comment with a IGA 1D Nurbs XYZ
- Parameters:
comment (Comment) –
Commentthat will be attached to the IGA 1D Nurbs XYZ- Returns:
No return value
- Return type:
None
Example
To associate comment c to the IGA 1D Nurbs XYZ ig1x:
ig1x.AssociateComment(c)
- IGA1DNurbsXYZ.Browse(modal=Oasys.gRPC.defaultArg)¶
Starts an edit panel in Browse mode
- Parameters:
modal (boolean) – Optional. 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
- Returns:
no return value
- Return type:
None
Example
To Browse IGA 1D Nurbs XYZ ig1x:
ig1x.Browse()
- IGA1DNurbsXYZ.ClearFlag(flag)¶
Clears a flag on the IGA 1D Nurbs XYZ
- Parameters:
flag (Flag) – Flag to clear on the IGA 1D Nurbs XYZ
- Returns:
No return value
- Return type:
None
Example
To clear flag f for IGA 1D Nurbs XYZ ig1x:
ig1x.ClearFlag(f)
- IGA1DNurbsXYZ.Copy(range=Oasys.gRPC.defaultArg)¶
Copies the IGA 1D Nurbs XYZ. The target include of the copied IGA 1D Nurbs XYZ can be set using
Options.copy_target_include
- Parameters:
range (boolean) – Optional. 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()- Returns:
IGA1DNurbsXYZ object
- Return type:
IGA1DNurbsXYZ
Example
To copy IGA 1D Nurbs XYZ ig1x into IGA 1D Nurbs XYZ z:
z = ig1x.Copy()
- IGA1DNurbsXYZ.DetachComment(comment)¶
Detaches a comment from a IGA 1D Nurbs XYZ
- Parameters:
comment (Comment) –
Commentthat will be detached from the IGA 1D Nurbs XYZ- Returns:
No return value
- Return type:
None
Example
To detach comment c from the IGA 1D Nurbs XYZ ig1x:
ig1x.DetachComment(c)
- IGA1DNurbsXYZ.Edit(modal=Oasys.gRPC.defaultArg)¶
Starts an interactive editing panel
- Parameters:
modal (boolean) – Optional. 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
- Returns:
no return value
- Return type:
None
Example
To Edit IGA 1D Nurbs XYZ ig1x:
ig1x.Edit()
- IGA1DNurbsXYZ.Flagged(flag)¶
Checks if the IGA 1D Nurbs XYZ is flagged or not
- Parameters:
flag (Flag) – Flag to test on the IGA 1D Nurbs XYZ
- Returns:
True if flagged, False if not
- Return type:
bool
Example
To check if IGA 1D Nurbs XYZ ig1x has flag f set on it:
if ig1x.Flagged(f): do_something..
- IGA1DNurbsXYZ.GetComments()¶
Extracts the comments associated to a IGA 1D Nurbs XYZ
- Returns:
List of Comment objects (or None if there are no comments associated to the node)
- Return type:
list
Example
To get the list of comments associated to the IGA 1D Nurbs XYZ ig1x:
comm_list = ig1x.GetComments()
- IGA1DNurbsXYZ.GetControlPoint(index)¶
Returns the data for a specific control point an a list. There are
nrcontrol points
- Parameters:
index (integer) – Index you want the control data for. Note that indices start at 0
- Returns:
A list containing the control point data
- Return type:
list
Example
To get the data for the 3rd control point in IGA 1d nurbs xyz ig1x:
data = ig1x.GetControlPoint(2)
- IGA1DNurbsXYZ.GetKnotVector(index)¶
The data for Knot values in the local r-direction
- Parameters:
index (integer) – Index you want the knot value for. Note that indices start at 0
- Returns:
Knot values in the local r-direction
- Return type:
int
Example
To get the 3rd knot value in IGA 1d nurbs xyz ig1x:
data = ig1x.GetKnotVector(2)
- IGA1DNurbsXYZ.GetParameter(prop)¶
Checks if a IGA1DNurbsXYZ 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_namesoption to true before calling the function and then resetting it to false afterwards.. This behaviour can also temporarily be switched by using theIGA1DNurbsXYZ.ViewParameters()method and ‘method chaining’ (see the examples below)
- Parameters:
prop (string) – IGA 1D Nurbs XYZ property to get parameter for
- Returns:
Parameter object if property is a parameter, None if not
- Return type:
Parameter
Example
To check if IGA1DNurbsXYZ property ig1x.example is a parameter:
Oasys.PRIMER.Options.property_parameter_names = True if ig1x.GetParameter(ig1x.example): do_something... Oasys.PRIMER.Options.property_parameter_names = FalseTo check if IGA1DNurbsXYZ property ig1x.example is a parameter by using the GetParameter method:
if ig1x.ViewParameters().GetParameter(ig1x.example): do_something..
- IGA1DNurbsXYZ.Keyword()¶
Returns the keyword for this IGA 1d nurbs xyz (*IGA_1D_NURBS_XYZ). Note that a carriage return is not added. See also
IGA1DNurbsXYZ.KeywordCards()
- Returns:
string containing the keyword
- Return type:
str
Example
To get the keyword for IGA 1d nurbs xyz ig1x:
key = ig1x.Keyword()
- IGA1DNurbsXYZ.KeywordCards()¶
Returns the keyword cards for the IGA 1d nurbs xyz. Note that a carriage return is not added. See also
IGA1DNurbsXYZ.Keyword()
- Returns:
string containing the cards
- Return type:
str
Example
To get the cards for IGA 1d nurbs xyz ig1x:
cards = ig1x.KeywordCards()
- IGA1DNurbsXYZ.Next()¶
Returns the next IGA 1D Nurbs XYZ in the model
- Returns:
IGA1DNurbsXYZ object (or None if there are no more IGA 1D Nurbs XYZs in the model)
- Return type:
IGA1DNurbsXYZ
Example
To get the IGA 1D Nurbs XYZ in model m after IGA 1D Nurbs XYZ ig1x:
ig1x = ig1x.Next()
- IGA1DNurbsXYZ.Previous()¶
Returns the previous IGA 1D Nurbs XYZ in the model
- Returns:
IGA1DNurbsXYZ object (or None if there are no more IGA 1D Nurbs XYZs in the model)
- Return type:
IGA1DNurbsXYZ
Example
To get the IGA 1D Nurbs XYZ in model m before IGA 1D Nurbs XYZ ig1x:
ig1x = ig1x.Previous()
- IGA1DNurbsXYZ.SetControlPoint(index, data)¶
Set the data for a specific control point. For each control point there will be control point X, Y, Z and control weight WGT. There are
nrcontrol points
- Parameters:
index (integer) – Index you want the control point data for. Note that indices start at 0
data (List of data) – List containing the control point data. The list length should be 4
- Returns:
No return value
- Return type:
None
Example
To set the 3rd control point data for IGA 1d nurbs xyz ig1x to the values in list data:
ig1x.SetControlPoint(2, data)
- IGA1DNurbsXYZ.SetFlag(flag)¶
Sets a flag on the IGA 1D Nurbs XYZ
- Parameters:
flag (Flag) – Flag to set on the IGA 1D Nurbs XYZ
- Returns:
No return value
- Return type:
None
Example
To set flag f for IGA 1D Nurbs XYZ ig1x:
ig1x.SetFlag(f)
- IGA1DNurbsXYZ.SetKnotVector(index, r)¶
Sets knot value, r in *IGA_1D_NURBS_XYZ. There are [
nr+pr+ 1] knot values
- Parameters:
index (integer) – Index you want to set the r for. Note that indices start at 0
r (float) – Knot values in the local r-direction
- Returns:
No return value
- Return type:
None
Example
To set the 3rd knot value for IGA 1d nurbs xyz ig1x as 13.5:
ig1x.SetKnotVector(2, 13.5)
- IGA1DNurbsXYZ.Sketch(redraw=Oasys.gRPC.defaultArg)¶
Sketches the IGA 1D Nurbs XYZ. The IGA 1D Nurbs XYZ will be sketched until you either call
IGA1DNurbsXYZ.Unsketch(),IGA1DNurbsXYZ.UnsketchAll(),Model.UnsketchAll(), or delete the model
- Parameters:
redraw (boolean) – Optional. If model should be redrawn or not after the IGA 1D Nurbs XYZ is sketched. If omitted redraw is true. If you want to sketch several IGA 1D Nurbs XYZs and only redraw after the last one then use false for redraw and call
View.Redraw()- Returns:
No return value
- Return type:
None
Example
To sketch IGA 1D Nurbs XYZ ig1x:
ig1x.Sketch()
- IGA1DNurbsXYZ.Unsketch(redraw=Oasys.gRPC.defaultArg)¶
Unsketches the IGA 1D Nurbs XYZ
- Parameters:
redraw (boolean) – Optional. If model should be redrawn or not after the IGA 1D Nurbs XYZ is unsketched. If omitted redraw is true. If you want to unsketch several IGA 1D Nurbs XYZs and only redraw after the last one then use false for redraw and call
View.Redraw()- Returns:
No return value
- Return type:
None
Example
To unsketch IGA 1D Nurbs XYZ ig1x:
ig1x.Unsketch()
- IGA1DNurbsXYZ.ViewParameters()¶
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. This function temporarily changes the behaviour so that if a property is a parameter the parameter name is returned instead. This can be used with ‘method chaining’ (see the example below) to make sure a property argument is correct
- Returns:
IGA1DNurbsXYZ object
- Return type:
IGA1DNurbsXYZ
Example
To check if IGA1DNurbsXYZ property ig1x.example is a parameter by using the
IGA1DNurbsXYZ.GetParameter()method:if ig1x.ViewParameters().GetParameter(ig1x.example): do_something..
- IGA1DNurbsXYZ.Xrefs()¶
Returns the cross references for this IGA 1D Nurbs XYZ
- Returns:
Xrefs object
- Return type:
Xrefs
Example
To get the cross references for IGA 1D Nurbs XYZ ig1x:
xrefs = ig1x.Xrefs()