Quantcast
Channel: Rhino Developer - McNeel Forum
Viewing all articles
Browse latest Browse all 8532

How to get a mesh from meshobject

$
0
0

@Mat_S wrote:

Starting with getting objects on a layer, I am trying to combine into a mesh.

objs = Rhino.RhinoDoc.ActiveDoc.Objects.FindByLayer(layername)

When going through the objs and running into a mesh:
rs.coercemesh(obj) returns None
obj.ObjectType returns MeshObject: (unamed)(-xxxxx)
rs.IsMesh(obj) returns False
mesh.Append(obj) returns an Error: Expected Mesh, got MeshObject

Posts: 2

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 8532

Trending Articles