How to modify levels extents (X and Y direction)

How to modify levels extents (X and Y direction)

EATREVITPOOPCAD
Collaborator Collaborator
655 Views
2 Replies
Message 1 of 3

How to modify levels extents (X and Y direction)

EATREVITPOOPCAD
Collaborator
Collaborator

I can get levels extents with get_BoundingBox(), and I am looking for something like set_BoundingBox(). I want to keep the level's Z elevation at the same level and stretch its bounding box in X and Y direction

 

EATREVITPOOPCAD_0-1675631233575.png

 

The definition of insanity is doing the same thing over and over again and expecting different results
0 Likes
656 Views
2 Replies
Replies (2)
Message 2 of 3

RPTHOMAS108
Mentor
Mentor

There is some functionality on DatumPlane class that Level inherits from i.e.

 

DatumPlane.SetCurveInView

DatumPlane.Maximize3DExtent

DatumPlane.PropagateToViews

 

Seems better to maximize the extents and propagate to views rather than individually manipulating curves.

Message 3 of 3

EATREVITPOOPCAD
Collaborator
Collaborator

Thanks @RPTHOMAS108 I will see what I can do with those

The definition of insanity is doing the same thing over and over again and expecting different results
0 Likes