Jump to content

Gom script functions as of version 2018


---
 Share

Recommended Posts

attached are all the gom script functions as of version 2018 (versions higher than that use an external python version instead of goms custom gom_python)

Figure someone else might find these useful since there are a lot of script commands that arent easy to capture via "record" or not possible to record in the first place

 

you can get the docstrings for each command by adding "__doc__" after the command and printing it, for example, viewing the doctrings of gom.script.cad.adapt_element_to_cad would be-

# -*- coding: utf-8 -*-

import gom

print(gom.script.cad.adapt_element_to_cad.__doc__)
gom.script.cad.adapt_element_to_cad

would result in

image.thumb.png.d1257981d9134f52899cfba7751e23a5.png

 

Im not sure what the "Tom::" types are, but maybe a German could explain that, Im assuming its some C++ type or something like that

 

 

gom.interactive.txt gom.script.txt

Edited
Link to comment
Share on other sites

 Share

×
×
  • Create New...