Oasys.PRIMER.View class

Constants

SetContourType - argument 1 (Type)

View.ELEMPROPS

Type Element Properties

View.ELEMQUAL

Type Element Quality

View.INITVELS

Type Initial Velocities

View.LOADSHELLDIRECTION

Type Load Shell Direction

View.MASSSCALE

Type Mass Scale

View.MATLPROPS

Type Material Properties

View.PARTMASS

Type Part Mass

View.SHELLNORMALS

Type Shell Normals

View.SHELLTHICKNESS

Type Shell Thickness

View.TIMESTEP

Type TimeStep

SetContourType - argument 2 (Subtype)

View.ABSOLUTE

Subtype Absolute (of type Shell Thickness)

View.ADDEDMASS

Subtype Added Mass (of type Mass Scale)

View.ADDEDMASSPART

Subtype Added Mass #Part (of type Mass Scale)

View.AREA

Subtype Area (2d only) (of type Element Property)

View.ASPECTRATIO

Subtype Aspect Ratio (of type Element Quality)

View.CONTOUR

Subtype Contour (of type Shell Normals)

View.DENSITY

Subtype Density (of type Material Property)

View.EMPFINALMASS

Subtype (*)Final Mass (of type (*)EMP Parts Only)

View.EMPNSMASS

Subtype (*)NS Mass (of type (*)EMP Parts Only)

View.EMPSTRUCTMASS

Subtype (*)Struct Mass (of type (*)EMP Parts Only)

View.FAILEDCRITERIA

Subtype Failed Criteria (of type Element Quality)

View.FINALMASS

Subtype Final Mass (of type (*)EMP Parts Only)

View.FORM

Subtype Form (native) (of type Element Property)

View.FORMULATION

Subtype Formulation (of type Element Property)

View.INITVELRES

Subtype Init Vel-Res (of type Init Vel Component)

View.INITVELX

Subtype Init Vel-X (of type Init Vel Component)

View.INITVELY

Subtype Init Vel-Y (of type Init Vel Component)

View.INITVELZ

Subtype Init Vel-Z (of type Init Vel Component)

View.INTPOINTS

Subtype Integration Points (of type Element Property)

View.JACOBIAN

Subtype Jacobian (of type Element Quality)

View.MATERIALNUMBER

Subtype Material Number (of type Material Property)

View.MAXINTANGLE

Subtype Max Internal Angle (of type Element Quality)

View.MININTANGLE

Subtype Min Internal Angle (of type Element Quality)

View.MINLENGTH

Subtype Min Length (of type Element Quality)

View.PERCENTADDEDMASS

Subtype % Added Mass (of type Mass Scale)

View.PERCENTADDEDMASSPART

Subtype % Added Mass #Part (of type Mass Scale)

View.PLASTICSTRAIN

Subtype Plastic Strain (of type Element Property)

View.POISSONRATIO

Subtype Poisson’s Ratio (of type Material Property)

View.QUALIMPERF

Subtype Tet Collapse (of type Element Quality)

View.REMAINING

Subtype % remaining (of type Shell Thickness)

View.SKEW

Subtype Skew (native) (of type Element Quality)

View.STRUCTMASS

Subtype Struct Mass (of type (*)EMP Parts Only)

View.TAPER

Subtype Taper (of type Element Quality)

View.TETCOLLAPSE

Subtype Formulation (of type Element Quality)

View.THINNING

Subtype % thinning (of type Shell Thickness)

View.VECTOR

Subtype Vector (of type Shell Normals)

View.VOLUME

Subtype Volume (of type Element Property)

View.WARPAGE

Subtype Warpage (of type Element Quality)

View.YIELDSTRESS

Subtype Yield Stress (of type Material Property)

View.YOUNGMODULUS

Subtype Young’s Modulus (of type Material Property)

SetContourType - argument 3 (Subtype)

View.INTPOINT

Subtype Integration point (of type Element Property)

View.MAXSTRAIN

Subtype Maximum Strain (of type Element Property)

View.MINSTRAIN

Subtype Minimum Strain (of type Element Property)

View.PARAMETRICCOORD

Subtype Parametric coordinate (of type Element Property)

Show

View.ISO

Isometric projection

View.XY

XY axis projection

View.XZ

XZ axis projection

View.YZ

YZ axis projection

Static methods

classmethod View.Ac()

Autoscales the view

Returns:

No return value

Return type:

None

Example

To autoscale

Oasys.PRIMER.View.Ac()
classmethod View.Ct()

Does a contour plot

Returns:

No return value

Return type:

None

Example

To do a contour plot

Oasys.PRIMER.View.Ct()
classmethod View.Hi()

Does a Hidden line plot

Returns:

No return value

Return type:

None

Example

To do a hidden line plot

Oasys.PRIMER.View.Hi()
classmethod View.Li()

Does a line (wireframe) plot

Returns:

No return value

Return type:

None

Example

To do a line plot

Oasys.PRIMER.View.Li()
classmethod View.Redraw()

Redraws the plot using the current plot mode

Returns:

No return value

Return type:

None

Example

To redraw

Oasys.PRIMER.View.Redraw()
classmethod View.SetContourType(view_type, view_subtype, view_subtype2)

Sets a contour type (and subtype)

Parameters:
Returns:

No return value

Return type:

None

Example

To set a contour plot of Load Shell Direction (no subtype):

Oasys.PRIMER.View.SetContourType(Oasys.PRIMER.View.LOADSHELLDIRECTION)

To set a contour plot of Element Formulation (type: Elem Props, subtype: Formulation):

Oasys.PRIMER.View.SetContourType(Oasys.PRIMER.View.ELEMPROPS, Oasys.PRIMER.View.FORMULATION)
classmethod View.Sh()

Does a shaded plot

Returns:

No return value

Return type:

None

Example

To do a shaded plot

Oasys.PRIMER.View.Sh()
classmethod View.Show(view_type)

Redraws using one of the standard views

Parameters:

view_type (constant) – The view to show. Can be +/-View.XY, +/-View.YZ, +/-View.XZ or +/-View.ISO

Returns:

No return value

Return type:

None

Example

To do an isometric view from the negative direction:

Oasys.PRIMER.View.Show(-Oasys.PRIMER.View.ISO)
classmethod View.Si()

Does a shaded image contour plot

Returns:

No return value

Return type:

None

Example

To do a shaded image contour plot

Oasys.PRIMER.View.Si()
classmethod View.Vec()

Does a vector plot

Returns:

No return value

Return type:

None

Example

To do a vector plot

Oasys.PRIMER.View.Vec()