Forum Message

 

 

We have moved the forum to https://forum.ngsolve.org . This is an archived version of the topics until 05/05/23. All the topics were moved to the new forum and conversations can be continued there. This forum is just kept as legacy to not invalidate old links. If you want to continue a conversation just look for the topic in the new forum.

Notice

The forum is in read only mode.

Saving geometry file

More
5 years 2 months ago #1467 by armandyam
Hello,

I was wondering if there is a way to save the geometry file generated in the python interface in 2D.

I would like to pass the .in2d or .geo file to my C++ code and I could not save the geometry files. I get the error:

invalid command name "Ng_OCCCommand"

in the GUI.

While in the python code I get the error that :
AttributeError: 'netgen.libngpy._geom2d.SplineGeometry' object has no attribute 'Save'

Is there a way to save the geometry that I am missing?
Time to create page: 0.127 seconds