GetSelectedShape

<< Click to Display Table of Contents >>

Navigation:  TMyCAD > Methods >

GetSelectedShape

function GetSelectedShape: TMyShape;

 

 

Description:

 

Get the selected shape.

 

 

Return Value:

 

 When  more than two shapes selected  ,  return nil,  When a grouped shape selected,  return the first shape

 

Example:

 

 Shape1:= MyCAD1.GetSelectedShape;

 

See Also:

 

GetSelectedShapes