KitchenDraw SDK 2
Show / Hide Table of Contents

Method GetLinearPlacementShape

GetLinearPlacementShape(int)

Returns the object's linear placement shape of specified rank.

Declaration
public string GetLinearPlacementShape(int shapeRank)
Parameters
Type Name Description
int shapeRank

Shape rank, 0-7. 0 means Shape 1 / Gabarit 1 in the catalog.

Returns
Type Description
string
Remarks

Each shape is defines like this: X1,Y1,Z1;X2,Y2,Z2;T|X1,Y1,Z1;X2,Y2,Z2;T|etc.. where X*, Y* and Z* are coordinate values of the segment's start or end point in scene increments, and stands for segment type, where 0 means "Segment de facade", 1 means "Segment de liaison", and 3 means all the rest.

An empty string is returned if the object has no segment defined for passed shape rank.

In this article
Back to top Generated by DocFX