Shape#

class pyedb.dotnet.database.modeler.Modeler.Shape(type='unknown', pointA=None, pointB=None, centerPoint=None, radius=None, points=None, properties={})#

Bases: object

Shape class.

Parameters:
typestr, optional

Type of the shape. Options are "circle", "rectangle", and "polygon". The default is "unknown.

pointAoptional

Lower-left corner when type="rectangle". The default is None.

pointBoptional

Upper-right corner when type="rectangle". The default is None.

centerPointoptional

Center point when type="circle". The default is None.

radiusoptional

Radius when type="circle". The default is None.

pointslist, optional

List of points when type="polygon". The default is None.

propertiesdict, optional

Dictionary of properties associated with the shape. The default is {}.

Overview#

Import detail#

from pyedb.dotnet.database.modeler.Modeler import Shape

Attribute detail#

Shape.type = 'unknown'#
Shape.pointA = None#
Shape.pointB = None#
Shape.centerPoint = None#
Shape.radius = None#
Shape.points = None#
Shape.properties#