CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > STAR-CCM+

Macro: Scene view - resetView

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   November 1, 2012, 14:01
Default Macro: Scene view - resetView
  #1
New Member
 
Join Date: Nov 2012
Posts: 1
Rep Power: 0
KaptainKaracho is on a distinguished road
Hi together,

I'm a new user of StarCCM+ and trying to write a dynamic postprocessing script. One function of my script should load a scene and save it as hardcopy. Especially the function should use the "resetView"-function of StarCCM+, e.g. like the resetView-button in the toolbar on top.

My question: Is this function desposited in the StarCCM+ java classes? If yes, how can I call the function to use it.

Thank you a lot for your support
KaptainKaracho is offline   Reply With Quote

Old   November 11, 2012, 10:30
Default
  #2
New Member
 
cfdguy's Avatar
 
Join Date: Mar 2009
Location: Brazil
Posts: 16
Rep Power: 7
cfdguy is on a distinguished road
Hi KaptainKaracho,

Have you tried:

scene.ResetCamera();

I suggest you load your macro into NetBeans and then query any Scene type variable using Ctrl-Space. Then you'll see all the methods associated with it.

Regards.
cfdguy is offline   Reply With Quote

Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
StarCCM+ Command line options and Macro execution isidp STAR-CCM+ 8 January 29, 2013 05:00
Macro problem cfddummy CD-adapco 1 April 9, 2007 12:37
Fluent - View Factor for s2s radiation Markus FLUENT 1 October 16, 2005 01:33
view rotation in provis Anna (aka new-user) CD-adapco 3 November 19, 2004 08:45
Call a macro from a macro Flav CD-adapco 2 July 1, 2004 05:42


All times are GMT -4. The time now is 06:53.