Slab edge model lines

Slab edge model lines

BinsonA
Observer Observer
213 Views
1 Reply
Message 1 of 2

Slab edge model lines

BinsonA
Observer
Observer

Hi All

 

Am trying to read the ID and coordinates of the model lines forming the edge of a slab. See example below. slab is having outer edges formed by a loop of model line and inner edge with another set of model lines. What is the best way to read this information. I have tried one option by temporarily deleting the slab and reading the model lines (temporary transaction) Any other solution available? 

Regards

BinsonA_0-1693559581917.png

 

Binson

0 Likes
214 Views
1 Reply
Reply (1)
Message 2 of 2

RPTHOMAS108
Mentor
Mentor

A slab has a sketch id (Floor.SketchId)

Sketch is an element that can be retrieved via the id (Document.GetElement(Floor.SketchId))

A sketch element has the member GetAllElements this returns the model lines of the sketch.

 

Personally understanding the sketch has it's limitations in usefulness in terms of understanding the profile of the floor i.e. it doesn't account for shaft openings and hosted families that cut openings in the floor etc.

0 Likes