SrfDisplay ()

Set the options for surface display.


SrfDisplay( model = None,
                     display = None,
                     display_type = None,
                     transparency = None,
                     transparency_level = None,
                     color = None )


model (string)
The name of the model entity.
display (boolean)
A flag for turning on/off the display of surface. If this flag is True the surface will be displayed.
display_type (string)
Type of the surface display (Solid, Outline, Wireframe).
transparency (boolean)
A flag for turning on/off the transparency of surface.
transparency_level (real)
Level of the surface transparency.
color (list)
The color of the surface.

Return Value



The model must be one of the defined models.

The display_type and transparency_level must be defined.

The color must be a List of three numbers between zero and one.


This routine sets the options for surface display. Display options are given by display, display_type, transparency, transparency_level and color. For example,
SrfDisplay( model='Top',color = [1.0,0,0], transparency = True )