Hi there,
Sorry but this is probably a pretty basic script. I'm just not sure how to approach it so I thought I'd ask here for a little help.
Just wondering, how would I go about removing any texture projections from an object through scripting??
If anyone could point me in the right direction it'd be great!
Thanks,
Pete
Remove All texture projections form an object.
-
csaez
- Posts: 253
- Joined: 09 Jul 2012, 13:31
- Skype: csaezmargotta
- Location: Sydney, Australia
Re: Remove All texture projections form an object.
This python snippet should do the trick
Code: Select all
get_uvs = lambda x: [p for c in x.ActivePrimitive.Geometry.Clusters
for p in c.Properties if p.Type == "uvspace"]
for o in Application.Selection:
Application.DeleteObj(get_uvs(o))-
Pete
- Posts: 118
- Joined: 16 Jun 2009, 07:28
Re: Remove All texture projections form an object.
Awesome! thanks mate!
