[GiDlist] Howto setup Perspective for MultiWindow View by Tc

Moderator: GiD Team

Post Reply
Martin.Meiler

[GiDlist] Howto setup Perspective for MultiWindow View by Tc

Post by Martin.Meiler »

Hi GiD-Team,


is there a way to setup the perspective for a subwindow of GiD.


Currently i can switch to multi-window view by using the Tcl Command

GiD_Process Mescape View NewWin 2UD

But how can i setup the perspective like

GiD_Process Mescape View Rotate Angle 270 90
for the upper window and
GiD_Process Mescape View Rotate Angle 180 90
for the lower window

using Tcl scripting commands?


Best regards

Martin


--
--------------------------------
SIMetris GmbH
Dipl.-Ing. Martin Meiler

Am Weichselgarten 7
D - 91058 Erlangen-Tennenlohe

Tel.: +49 (0)9131 691 280
Fax.: +49 (0)9131 691 285

Email: martin.meiler at simetris.de
Internet: www.simetris.de

------------------------------------------------------------------

Nächste Veranstaltungen:


------------------------------------------------------------------

SIMetris GmbH
-------------------------------------
Sitz der Gesellschaft Erlangen
Registered Office

---------------------------------------------------------
Registergericht Amtsgericht Fürth, HRB 10659
Register Court

---------------------------------------------------------
Ust-IdNr. DE249523369
VAT-IN

-----------------------------------------------------
Geschäftsführer Dipl.-Ing. Martin Meiler
Executive Director

---------------------------------------------------------------
Wissenschaftlicher Beirat Prof. Dr.-Ing. Reinhard Lerch
Scientific Advisory Board Prof. Dr. techn. Manfred Kaltenbacher

Legal Disclaimer
This electronic message contains information that is confidential. The
information is intended for the use of the addressee only. If you are
not the addressee we would appreciate your notification in this respect.
Please note that any disclosure, copy, distribution or use of the
contents of this message is prohibited and may be unlawful. We have
taken every reasonable precaution to ensure that any kind of attachment
to this e-mail has been swept for viruses. However, we cannot accept
liability for any damage sustained as a result of software viruses and
would advise you to carry out your own virus checks before opening any
attachment.

Diese elektronische Nachricht ist vertraulich. Die Information ist nur
für den Adressaten bestimmt. Falls Sie nicht der Adressat sind, wären
wir Ihnen für eine entsprechende Information sehr dankbar. Bitte
beachten Sie, dass es in diesem Fall verboten und gesetzeswidrig ist,
diese Nachricht zu kopieren, weiterzuleiten oder zu benutzen. Es wurden
alle möglichen Massnahmen getroffen um eine Virusfreiheit der
beigefügten Dateien zu gewährleisten. Wir übernehmen jedoch keine
Verantwortung für Schäden, die aufgrund von Software Viren entstehen
und empfehlen Ihnen vor Benutzung der Dateien eine Überprüfung auf Viren
durchzuführen.
User avatar
escolano
Posts: 1961
Joined: Sun Sep 05, 1982 10:51 pm

[GiDlist] Howto setup Perspective for MultiWindow View by Tc

Post by escolano »

This is a difficult question,
I had to search on the source code to know how to do it!!

You must know the name of the "togl" widget of each window, and then can use its "gidmakecurrent" procedure before invoke process commands that change the view.

Probably with your 2UD windows the name of this widgets are ".gid.central.s" for the upper window and ".gid.central.wins.graphwin2.s" for the lower window
(but maybe this widget names are different or we can change it in the future, maybe we must provide some tcl procedure to easily do it:)

then you can use:

.gid.central.s gidmakecurrent
GiD_Process Mescape View Rotate Angle 270 90

.gid.central.wins.graphwin2.s gidmakecurrent
GiD_Process Mescape View Rotate Angle 180 90

Best regards

Enrique Escolano

----- Original Message -----
From: "Martin.Meiler" Martin.Meiler at simetris.de
To: gidlist at gatxan.cimne.upc.edu
Sent: Tuesday, October 06, 2009 2:52 PM
Subject: [GiDlist] Howto setup Perspective for MultiWindow View by Tcl Scripting?


Hi GiD-Team,


is there a way to setup the perspective for a subwindow of GiD.


Currently i can switch to multi-window view by using the Tcl Command

GiD_Process Mescape View NewWin 2UD

But how can i setup the perspective like

GiD_Process Mescape View Rotate Angle 270 90
for the upper window and
GiD_Process Mescape View Rotate Angle 180 90
for the lower window

using Tcl scripting commands?


Best regards

Martin


--
--------------------------------
SIMetris GmbH
Dipl.-Ing. Martin Meiler

Am Weichselgarten 7
D - 91058 Erlangen-Tennenlohe

Tel.: +49 (0)9131 691 280
Fax.: +49 (0)9131 691 285

Email: martin.meiler at simetris.de
Internet: www.simetris.de

------------------------------------------------------------------

Nächste Veranstaltungen:


------------------------------------------------------------------

SIMetris GmbH
-------------------------------------
Sitz der Gesellschaft Erlangen
Registered Office

---------------------------------------------------------
Registergericht Amtsgericht Fürth, HRB 10659
Register Court

---------------------------------------------------------
Ust-IdNr. DE249523369
VAT-IN

-----------------------------------------------------
Geschäftsführer Dipl.-Ing. Martin Meiler
Executive Director

---------------------------------------------------------------
Wissenschaftlicher Beirat Prof. Dr.-Ing. Reinhard Lerch
Scientific Advisory Board Prof. Dr. techn. Manfred Kaltenbacher

Legal Disclaimer
This electronic message contains information that is confidential. The
information is intended for the use of the addressee only. If you are
not the addressee we would appreciate your notification in this respect.
Please note that any disclosure, copy, distribution or use of the
contents of this message is prohibited and may be unlawful. We have
taken every reasonable precaution to ensure that any kind of attachment
to this e-mail has been swept for viruses. However, we cannot accept
liability for any damage sustained as a result of software viruses and
would advise you to carry out your own virus checks before opening any
attachment.

Diese elektronische Nachricht ist vertraulich. Die Information ist nur
für den Adressaten bestimmt. Falls Sie nicht der Adressat sind, wären
wir Ihnen für eine entsprechende Information sehr dankbar. Bitte
beachten Sie, dass es in diesem Fall verboten und gesetzeswidrig ist,
diese Nachricht zu kopieren, weiterzuleiten oder zu benutzen. Es wurden
alle möglichen Massnahmen getroffen um eine Virusfreiheit der
beigefügten Dateien zu gewährleisten. Wir übernehmen jedoch keine
Verantwortung für Schäden, die aufgrund von Software Viren entstehen
und empfehlen Ihnen vor Benutzung der Dateien eine Überprüfung auf Viren
durchzuführen.
_______________________________________________
GiDlist mailing list
GiDlist at gid.cimne.upc.edu
http://gid.cimne.upc.es/mailman/listinfo/gidlist
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://listas.cimne.upc.edu/pipermail/gidlist/attachments/20091008/8d994946/attachment.htm
Post Reply