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