Autolabel_help

python

(Pie Ventura) #1

hello, can someone help me?
I think it’s simple but I’m tired and I can not.
I would like to tag each object,
but,
closedpoly is impossible,
why?
lol

prova count.3dm (379.6 KB)
autolabelall.py (2.7 KB)
p!
tnxxxx


(Dale Fugier) #2

@pie.ventura - I’ve moved your question to the Scripting category.

– Dale


(Pie Ventura) #3

ok tnx soory


#4

@pie.ventura, if i understand that right you need to change:

if rs.IsSurface(obj):

to this to make it work for open and closed polysurfaces:

if rs.IsSurface(obj) or rs.IsPolysurface(obj):

Ps: Note there is a point object in the object labeled openSIMPLEpolysurf_ok
_
c.