sales@scenomics.com +1 650 396 9674

Object Member Expressions

An object member expression selects the member of an object using the dot operator.

  • 'object-variable-name' '.' 'object-class-member'

Details

Details are as follows:

  • Object member expressions use the dot operator.
  • You can use object member expressions to access any member or member function for a class.

Examples

The following example uses an object member expression to access the function RenderSolid.

Model.ActiveView.RenderSolid();

The following example uses an object member expression to set the worksheet's TopColor member.

ModelView a_oView = Model.ActiveView;
a_oView.TopColor.SetRGB( 0xb42, 0xb63, 0xc84 );