Python API

General topics about Trelis/Cubit, such as localization, GUI, etc.

Python API

Postby matt » Fri Jun 14, 2013 8:35 pm

Is there a way to have the graphical display run while using the python API?
matt
 
Posts: 1
Joined: Fri Jun 14, 2013 8:34 pm

Re: Python API

Postby csimsoft Moderator » Mon Jun 24, 2013 11:31 am

You can create a window:
cubit.cmd("graphics window create")

You can refresh the window
cubit.cmd("graphics flush")

And you can enable interaction (hit the 'q' button to get out of interaction
mode)
cubit.cmd("mouse")

Does this help?
csimsoft
csimsoft Moderator
 
Posts: 247
Joined: Tue Feb 14, 2012 5:59 pm
Location: American Fork, UT


Return to General Topics

Who is online

Users browsing this forum: No registered users and 1 guest

cron

Search / Mark

User Control Panel

Login

Who is online

In total there is 1 user online :: 0 registered, 0 hidden and 1 guest (based on users active over the past 5 minutes)
Most users ever online was 58 on Mon Jun 26, 2017 4:19 pm

Users browsing this forum: No registered users and 1 guest