[SOLVED] .scaleuniform and .scaleAll do not respect elements belonging to the same number graphic group (GG)

Hi all,

 

I'm trying to scale Textnodes with .scaleuniform or .scalall and the elements in the same GG should be scaled too, about the same origin!

Application.ActiveSettings.GraphicGroupLockEnabled = True

nFaktor=0.5

Set aTextnode = oElement.AsTextNodeElement
Origin3d = aTextnode.Origin

oElement.ScaleUniform Origin3d, nFaktor

OR

oElement.Scaleall Origin3d, nFaktor, nFaktor, nFaktor

But both mehtods do not respect the givin Origin for all elements in the GG, instead the methods seems using  the origin  of each elemtent of the GG.

If I'm using the Ustn scale command interactive it gives me my desired result.

GG-Toogle is ON:  The Texnode and the LINIE are in the same GG (here 21)

before scaling :

 

after scaling: perfect !

 

after scaling with .scaleuniform .scalall it looks like:

Is this WAD for Scaluniform when GG-elements are involed ?

Sure...if the answer is yes, I have to I have to iterate through the GG for my self, or does anybody has a hint!

 

 

  • for me: .scaleAll and .scaleUniform are not scaling all members of numbered graphic groups

    Regards

    Frank

    since 1985: GIS, CAD, Engineering (Civil)  Senior Consultant : [Esri ArcMap, AutoCad Bentley MS V4 - V8i, GeoGraphics, Map, InRoads  HHK Geograf, IBr DAVID,  AED-SICAD-Utilities ]  Dev: [C, C++, Basic , Java, SQL, FORTRAN, UML]
    [direct quote by: http://en.wikipedia.org/wiki/Helmut_Schmidt]: "Wer Kritik übel nimmt, hat etwas zu verbergen"
    Wer Grammatik- und/oder Rechtschreibfehler findet, der darf sie behalten :-)