Events im Editor

Events im Editor

Hallo,
hab zur Zeit die Aufgabe ein Vorlagebibliothek mit Symbolen etc. zu erstellen. Dabei bin ich auf folgendes Problem gestoßen. Wenn man z.B. ein Symbol für ein Förderband erstellt, welches aus zwei Kreisen und einem Rechteck dazwischen besteht, dann werden die Kreise zu einer Ellipse wenn man das Symbol in einem Bild einfügt und in die Länge zieht/ vergrößert.
Gibt es die irgendwo die Eigenschaft für ein statisches Element, die das Skalieren sperrt (Größe und Position beibehält), sodass die Kreise immer gleich groß bleiben und sich nur das Rechteck in der Mitte in die Länge ziehen lässt?
Das Symbol lasse ich über ein Makro erstellen, da es (so denke ich) einfacher ist die Positonen und Größen der Kreise zu berechnen. Dem Makro übergebe ich dann nur die Länge und Breite von dem Rechteck. Wenn das Symbol im Bild eingefügt ist, soll es aber auch möglich sein dieses zu vergrößern.
Gibt es die Möglichkeit im Editor ein Event auszulösen, wenn man mit der Maus ein Symbol, das aus statischen Elementen besteht, selektiert?
Das Event soll dann ein Makro aufrufen und die neuen Größen für die Elemente in dem Symbol berechnen.
Wenn das möglich wäre könnte man sich einiges an Pixelschieberei ersparen!!!:)
Arbeite mit ZENON V6.51 SP0 Build 4.
VG Sniggi

This is a migrated post! Originally posted on 19.01.2012 by user sniggi. Please be aware that information can be outdated.

    Disclaimer

    This document governs the use of our Community Forum. By registering and using the platform, you accept these conditions.

    The COPA-DATA Community Forum serves to encourage the exchange of information and experience about the zenon software between forum users respectively zenon users.

    Please mind that any published information on the Community Forum is the subjective opinion and view based on the experience and the level of knowledge of the author. COPA-DATA does not overtake any responsibility for the content and the accuracy of the shared information.

    Users of the Community Forum are encouraged to share only well-founded experiences and to point out any risks associated with the implementation of proposed solutions to problems. COPA-DATA at its absolute discretion, reserves the right to moderate the forum. In this connection COPA-DATA may remove any information containing false facts, potentially dangerous solutions, bad language or content that may insult, degrade or discriminate others. COPA-DATA may block a non-complying user from forum access if the user violated this provision.

    COPA-DATA reserves the right to change this document from time to time at own discretion.


    Ing. Punzenberger COPA-DATA GmbH
    Karolingerstraße 7b · 5020 Salzburg · Austria
    www.copadata.com