Code Block Error-Warning: Internal error, please report: Dereferencing a non-pointer

Hi there

Here code is same in both image but it works in image 1 where as in image 2 it shows error. Can anyone suggest any solution to this, that why this happened ?

Below image 1


Below image 2
61

Could you explain what you are trying to do? is it the same graph in image 1 and 2?

please upload the dyn

3D Grid.dyn (23.1 KB)

retipe the code block:

a=Point.ByCoordinates(0,0,h);
Plane.ByOriginNormal(a.Vector.ZAxis());

something strange is going on in your second graph there is a input called point and plane

it’s not working.
again error Warning: Internal error, please report: Dereferencing a non-pointer.

ok. I got it now. You must have copied the nodes into a new graph.

try:
a=Autodesk.Point.ByCoordinates(0,0,h);
Autodesk.Plane.ByOriginNormal(a.Vector.ZAxis());

try restart computer

62

a=Autodesk.Point.ByCoordinates(0,0,h);
Autodesk.Plane.ByOriginNormal(a,Autodesk.Vector.ZAxis());

1 Like

:+1: yes, It’s Working. :smiley::smiley::smiley:

1 Like

This node is same problem.

I’m not sure what node the script in the code block is calling

look here:

Try installing the Dynamo Text package

Install the package I mentioned above and then write in the code block

DynamoText.Text.FromStringOriginAndScale(txt<1>,pt<1><2>,1000);

I got the Text in code block.

65

You forgot something. Look above

i tried, but it’s shown something error. so it’s not useful for me.

it’s working for me

1 Like

Thanks mate :smiley::smiley::clap::clap:

1 Like

i a learning dynamo, can you take look of this parking numbering count ?

https://drive.google.com/file/d/0BxZr…

I dont know why it would not change my parking numbering at all.