rhino3dm icon indicating copy to clipboard operation
rhino3dm copied to clipboard

create a new instance definition

Open Gaspard-Bourgeois opened this issue 2 years ago • 2 comments

I don't succeed in creating new instance definition by code.

Can you update scripts to match with the documentation of Add method bellow : https://mcneel.github.io/rhino3dm/python/api/File3dmInstanceDefinitionTable.html

Currently only idef can be added and I don't find any way to create a new idef from objects.

Gaspard-Bourgeois avatar Jan 08 '22 19:01 Gaspard-Bourgeois

hello,did you solved the problem? I have same problem in C#

Zhanchenhaha avatar May 21 '22 07:05 Zhanchenhaha

I didn't find any solution, except starting from a template

Gaspard-Bourgeois avatar May 21 '22 08:05 Gaspard-Bourgeois

I've started work on this here: https://github.com/mcneel/rhino3dm/tree/luis/addInstanceDefinition

fraguada avatar Dec 19 '23 15:12 fraguada

This has been added and will be available in rhino3dm 8.6.0

fraguada avatar Mar 21 '24 14:03 fraguada

@Gaspard-Bourgeois @Zhanchenhaha This has been fixed in rhino3dm. You can get it on 8.6.0-beta1 [dotnet][py][js]

fraguada avatar Apr 05 '24 14:04 fraguada

Thanks

Gaspard-Bourgeois avatar Apr 05 '24 16:04 Gaspard-Bourgeois