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, 15:31
- Skype: csaezmargotta
- Location: Sydney, Australia
- Contact:
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))
Re: Remove All texture projections form an object.
Awesome! thanks mate!
Who is online
Users browsing this forum: No registered users and 13 guests