Quantcast
Channel: Scripting - McNeel Forum
Viewing all articles
Browse latest Browse all 4159

Question on Rhino.Geometry.GeometryBase.Duplicate()

$
0
0

Can’t seem to make it work to duplicate a Rhino.Geometry.Box object… What am I doing wrong?

I tried

new_box=Rhino.Geometry.GeometryBase.Duplicate(old_box)
>>> message: "expected GeometryBase, got Box"
and
inner_box=outer_box.Duplicate()
(didn’t expect that to work, but tried anyway)

(I know I can use the copy module, but I was just curious if that could be avoided)

2 posts - 2 participants

Read full topic


Viewing all articles
Browse latest Browse all 4159