Community
Hi,
just about 3 years later. Here cames the answer.
i've got the same error and I think I know the reason why the error apears.
Its depends on the parameter and the return-parameter.
The method that defined in C# must have a parameter as a ResultBuffer. The return-parameter is not so importend.
This works:
Lisp:
(RenameUnnamedBlocks "1")
C#:
[LispFunction("RenameUnnamedBlocks")]
public void LispRenameUnnamedBlocks(ResultBuffer Value)
{
ACADUtility.Block.RenameUnnamedBlocks();//Just a method in C#.
}
Regards Jürgen