Drawing Table Segments
Drawing tables can be constructed with one or more segments. Each segment can be independently placed. The segments are specified by an integer identifier starting with 0.
Methods Introduced:
The method
pfcSelection::GetSelTableSegment returns the value of the segment identifier of the selected table segment. It returns a null value if the selection does not contain a segment identifier.
The method
pfcTable::GetSegmentCount returns the number of segments in the table.
The method
pfcTable::GetSegmentSheet determines the sheet number that contains a specified drawing table segment.
The method
pfcTable::MoveSegment moves a drawing table segment to a new location. Pass the co-ordinates of the target position in the format x, y, z=0.
|
|
Set the value of the parameter Repaint to true to repaint the drawing with the changes. Set it to false or null to delay the repaint.
|
To get information about a drawing table pass the value of the segment identifier as input to the method
pfcTable::GetInfo. The method returns the table information including the rotation, row and column information, and the 3D outline.
Use the method
wfcWTable::SetSegmentOrigin to assign the origin for a specified drawing table segment.
The method
wfcWTable::GetSegmentExtents returns the start and end rows and columns of a specified table segment. The input argument
SegmentId is the table segment ID. Pass the value as
-1 if you are referring to the only segment of a one-segment table.
The methods
wfcSegmentExtents::GetFirstColumn and
wfcSegmentExtents::GetFirstRow returns the first row and first column of a table segment.
The methods
wfcSegmentExtents::GetLastColumn and
wfcSegmentExtents::GetLastRow returns the last row and last column of a table segment.