>>> __objs__=[]
>>> __objs__.append(FreeCAD.getDocument("myDoc").getObject("Analysis").)
>>> import Fem
>>> FreeCAD.getDocument("myDoc")
>>> Fem.export(__objs__,u"E:/FEMmeshNetgen.inp")
For example, the inp file extracted with the above code cannot be ccxed because it lacks some information. So I want to find another script that can extract the inp in ccxtools or calculate the inp of the correct frd。
How to extract the inp file of ccxtools through script
Moderator: bernd
Forum rules
and Helpful information for the FEM forum
and Helpful information for the FEM forum
-
- Posts: 12
- Joined: Thu Mar 10, 2022 7:45 am
Re: How to extract the inp file of ccxtools through script
Ask under FEM sub forum.
Re: How to extract the inp file of ccxtools through script
A simple solution to try out and learn is record a macro and just check what for commands you see.
Or check: https://github.com/FreeCAD/FreeCAD/tree ... c/Mod/Fem/ and see what you find there
Or check: https://github.com/FreeCAD/FreeCAD/tree ... c/Mod/Fem/ and see what you find there