GetObject Class Help

Hello,

I started reading the sample file about how to get the surface normal in python;

But I do not understand this part;
face = gs.Object(0).Face()

gs.Object - to refrence the object
but what does “(0)” do? What does .Face() do?

It returns the 0th item into the zero-based

Returns the BrepFace that picked (on).

– Dale

Thank you Dale,

Yes, this is what I assumed.