algorithmic modeling for Rhino
I've been trying to figure out how to edit the UV's of a mesh in gh.
I have a working version of the script in rhino python, but it seems to hinge on the use of mesh.CommitChanges(), which isn't recognised in ghpython.
Is there a way around this?
Images, rhino python, and ghpython script attached with test mesh.
Tags:
Hi Daniel,
Grasshopper deals with geometry and not with "Rhino Objects". That means that not all functionality of RhinoObject can be accessible from the GhPython plug-in. That includes CommitChanges(), that is essentially a part of the undo-redo logic.
Is your code working if you skip CommitChanges()?
What if you just replace the old geometry with the new one, and directly only work on Geometry?
(RhinoDoc.ActiveDoc.Objects.Replace()? )
Giulio
--
Giulio Piacentino
for Robert McNeel & Associates
giulio@mcneel.com
Welcome to
Grasshopper
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
© 2024 Created by Scott Davidson. Powered by