[Bf-python] uvSel?
Ken Hughes
khughes at pacific.edu
Tue Nov 29 17:26:25 CET 2005
Campbell Barton wrote:
> Hi Ken, I tried to syncronise selected verts to the uv selection. this
> should work but dosent seem to?
> Looks like uvSel dosent actualy write at all,
> - Cam
>
> ________________________
>
> from Blender import *
>
> def main():
> Window.WaitCursor(1)
> scn = Scene.GetCurrent()
> ob = scn.getActiveObject()
> me = ob.getData(mesh=1)
> # Unselect all edges so subdiv only operates on 1.
> for f in me.faces:
> f.uvSel = [v.sel for v in f.v]
>
Can you upload a blend to the bug tracker for me to check? Will be
quicker than trying to build one myself (believe me).
Ken
More information about the Bf-python
mailing list