Oasys.PRIMER.Attached class¶
Constants¶
Static methods¶
- classmethod Attached.Beam3rdNodes(setting)¶
Sets the find attached option for beam 3rd nodes on or off
- Parameters:
setting (boolean) – If true beam 3rd nodes are considered for find attached, if false, they are not
- Returns:
No return value
- Return type:
None
Example
To set the 3rd node option to on:
Oasys.PRIMER.Attached.Beam3rdNodes(True)
- classmethod Attached.BeamPid(setting)¶
Sets the find attached option for beam pid on or off
- Parameters:
setting (boolean) – If true beam pid’s are considered for find attached, if false, they are not
- Returns:
No return value
- Return type:
None
Example
To set the beam pid option to on:
Oasys.PRIMER.Attached.BeamPid(True)
- classmethod Attached.Deformable(setting)¶
Sets the deformable option for find attached
- Parameters:
setting (constant) – Option. Can be
Attached.WHOLE
,Attached.SINGLE
- Returns:
No return value
- Return type:
None
Example
To set the deformable option to find attached through the whole part:
Oasys.PRIMER.Attached.Deformable(Oasys.PRIMER.Attached.WHOLE)
- classmethod Attached.FlagPart(setting)¶
Sets an option to flag parts after a find attached if any elements within that part are flagged
- Parameters:
setting (boolean) – If true, parts are flagged after a find attached if any elements within that part are flagged, if false, they are not
- Returns:
No return value
- Return type:
None
Example
To set the flag part option to on:
Oasys.PRIMER.Attached.FlagPart(True)
- classmethod Attached.Recursive(setting, number=Oasys.gRPC.defaultArg)¶
Sets the find attached option for recursive on or off
- Parameters:
setting (boolean) – If true recursive is on, if false, it is off
number (integer) – Optional. Option to set the number of find attached iterations used when the recursive option is set
- Returns:
No return value
- Return type:
None
Example
To set the recursive option to on:
Oasys.PRIMER.Attached.Recursive(True)
- classmethod Attached.Rigid(setting)¶
Sets the rigid option for find attached
- Parameters:
setting (constant) – Option. Can be
Attached.WHOLE
,Attached.SINGLE
- Returns:
No return value
- Return type:
None
Example
To set the rigid option to find attached through the whole part:
Oasys.PRIMER.Attached.Rigid(Oasys.PRIMER.Attached.WHOLE)
- classmethod Attached.SetEntity(type, setting)¶
Sets entity to be on or off to find attached through
- Parameters:
type (string) – The type of the item to switch on or off (for a list of types see Appendix I of the PRIMER manual)
setting (boolean) – If true you turn the entity switch on, if false you turn it off
- Returns:
No return value
- Return type:
None
Example
To set the SHELL switch to on so that when you run a find attached you fnd attached through shells:
Oasys.PRIMER.Attached.SetEntity("SHELL", True)
- classmethod Attached.TiedContacts(setting)¶
Sets the find attached option for tied contacts on or off
- Parameters:
setting (boolean) – If true tied contacts are considered for find attached, if false, they are not
- Returns:
No return value
- Return type:
None
Example
To set the tied contacts option to on:
Oasys.PRIMER.Attached.TiedContacts(True)