Skip to content
This repository was archived by the owner on Jan 6, 2021. It is now read-only.

Commit d19bb76

Browse files
committed
Addresses issue #38
1 parent 81b8606 commit d19bb76

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

DocReplacement/CustomTable.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -905,7 +905,8 @@ private Guid GenericAdd<T>(T obj, ObjectAttributes attributes)
905905
public static NotSupportedException NotSupportedExceptionHelp()
906906
{
907907
return new NotSupportedException(
908-
"This call is not supported from within a Grasshopper component");
908+
"This type of object is not supported in Grasshopper, so this Python script cannot create it. "+
909+
"You might want to use 'scriptcontext.doc = Rhino.RhinoDoc.ActiveDoc' to use the Rhino doc, instead? If you do, remember to restore it: 'scriptcontext.doc = ghdoc'.");
909910
}
910911

911912
private const int _listInferStart = 4;

0 commit comments

Comments
 (0)