Fail to cast objects

I create a LineCurve in C# and I used cast method in c++ to change the type of curve pointer.
But when using cast ,it failed.
I checked the function IsDerivedFrom,I the fields of like m_create are not same. I cannot find why.

Hi @parleyround ,

I’ve changed the thread category to Rhino Developer to improve your chances of a helpful response.



We’ll need more background information, on what you are trying to do and why, and probably some source code, that isn’t working for you, in order to help.


– Dale