Skip to content

Instantly share code, notes, and snippets.

@gr4ph0s
gr4ph0s / [C4D]SetContinuousDiscontinuousUV.py
Last active Aug 19, 2017
[C4D] Set uv coordinate from pt_id or from pt_id+poly_id
View [C4D]SetContinuousDiscontinuousUV.py
import c4d
def get_points_id_selected(obj):
buffer_list = list()
pts_count = obj.GetPointCount()
sel_pts = obj.GetPointS()
list_pts = sel_pts.GetAll(pts_count)
for i in xrange(pts_count):
if list_pts[i]: