Frank Studzinski

Forum Replies Created

Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • in reply to: Slant of CW in 3D GDL #18154
    Frank Studzinski
    Participant

    Hi Csilla,

    the Project have 3 Buildings with 10-20 Storys. Maybe 3 Curtain Walls to create one is to complex.
    Maybe i will solve it with modules or objects.

    The GLOB_VIEW_TYPE is a nice trick.

    Regards

    Frank

    Graphisoft Berlin GmbH

    in reply to: Slant of CW in 3D GDL #18151
    Frank Studzinski
    Participant

    Hi Csilla,

    how can i model this with 3 frames? Do you have am example?

    Is there a technical reason whe ist not recommended to refer to project coordinates from curtain wall frame subelements?

    The 2D Script is another problem. I would be fine when the frames als have an 2D Script,
    so that they could be more detailed in 2D than in 3D.

    Regards

    Frank

    Graphisoft Berlin GmbH

    in reply to: Slant of CW in 3D GDL #18147
    Frank Studzinski
    Participant

    Hi Csilla,

    thank you, but isn’t it a missing value. When i us an editabe parameter, where the use has to enter the slant of the cw,
    it’s not really “Freedom of Design”. Is there any reason why panels have this value and profiles not?

    Reagards

    Frank

    Attachments:

    Graphisoft Berlin GmbH

    in reply to: parameters with array #4400
    Frank Studzinski
    Participant

    Hope dies last….

    Thank you and “Fröhliche Weihnachten”

    Graphisoft Berlin GmbH

    in reply to: Graphic Overrides for Doors #3986
    Frank Studzinski
    Participant

    Ok, i found my error.

    The Ovverides dind’t override the background pen, when it’s set to 0 in the script!

    A request if an overrides is active, better which on would still be nice.

    I try to implement a symbol in doors, which shows the color of the override.
    When only the regular 2D symbol is colored, it’s hard for see in the plan.

    Graphisoft Berlin GmbH

    in reply to: Graphic Overrides for Doors #3955
    Frank Studzinski
    Participant

    To reach the pen or something else was only an additional wish.

    The Graphisoft Doors and Windows are colored by the overrides?
    How do i have to create a hatch that is also colored.

    I haven’t found something
    in the GDL

    Graphisoft Berlin GmbH

    in reply to: Zone accessories #2864
    Frank Studzinski
    Participant

    Isn’t it the same method which is used by the old ADD-ON “Raumzubehör”?
    It’s still part of goodies.

    Graphisoft Berlin GmbH

    in reply to: Full_​ID_​of_​parent #2792
    Frank Studzinski
    Participant

    Ok, didn’t thought that this example is meant with “or master scripts run as parameter script”

    What is you suggestion to combine the MasterID with the Roomnumber or the Appartment ID?

    We have several customer projects which complex Hotlink structures, where we need a solution for this issue.

    Graphisoft Berlin GmbH

    in reply to: Movabel Hotspot in Array #1739
    Frank Studzinski
    Participant

    Thank you!
    The quotation marks were my problem,
    because it works with them for regular paramters.

    Graphisoft Berlin GmbH

    in reply to: Less complex examples #1498
    Frank Studzinski
    Participant

    Please don’t misunderstand my comment. It’s great to have first hand examples for GDL.
    My experience with my students,our clients and with my own brain, is that it’s hard to follow those complex scripts. It’s hard to focus on the problem, when i first have to filter which part of the script handles the problem and which is only additional.

    Maybe you can combine both methods.

    First you show the part of the script wher you handle the problem you want to explan.
    f.e.


    _totalRotate = (SYMB_ROTANGLE + _angleViewRot) MOD 360

    if iTypeTextRotation = 2 then ! Readable
    if (_totalRotate > (90 + EPS) & _totalRotate < (270 + EPS)) then
    rot2 180
    _nTrans = _nTrans + 1
    endif
    else
    if iTypeTextRotation = 1 then ! Horizontal
    rot2 _totalRotate * (SYMB_MIRRORED – not(SYMB_MIRRORED))
    _nTrans = _nTrans + 1
    endif
    endif

    and than you show the whole script.

    Graphisoft Berlin GmbH

    in reply to: Less complex examples #1483
    Frank Studzinski
    Participant

    Maybe more like this:

    ! ——————————————————————————
    ! Input parameters controlled by the user:
    ! ——————————————————————————
    ! ZZYZX – (Length) height of the block whose data are displayed

    ! iTypeTextRotation – (Integer) type of the text rotation:
    ! 0 – Align with Symbol, 1 – Always Horizontal,
    ! 2 – Readable

    ! ——————————————————————————
    ! Draw the block in 2D
    ! ——————————————————————————
    rect2 0, 0, A, B

    ! ——————————————————————————
    ! Define styles
    ! ——————————————————————————

    define style “Style1” “Arial”, 2.5, 1, 0
    rrr=request(“Height_of_Style”,”Style1″,theight1)

    ! ——————————————————————————
    ! Text Rotation – Readable / Always Horizontal / Align with Symbol
    ! ——————————————————————————
    r = request (“View_Rotangle”, “”, _angleViewRot)

    ! Actual rotation of the 2D symbol:
    _totalRotate = (SYMB_ROTANGLE + _angleViewRot) MOD 360

    ! Count the number of transformations of the
    ! coordinate system in different cases

    _nTrans = 0

    if iTypeTextRotation = 2 then ! Readable
    if (_totalRotate > (90 + EPS) & _totalRotate < (270 + EPS)) then
    rot2 180
    _nTrans = _nTrans + 1
    endif
    else
    if iTypeTextRotation = 1 then ! Horizontal
    rot2 _totalRotate * (SYMB_MIRRORED – not(SYMB_MIRRORED))
    _nTrans = _nTrans + 1
    endif
    endif

    ! ——————————————————————————
    ! Set input data for the text drawing
    ! ——————————————————————————
    ! Set the multiplier of the paper scale
    PAPER_TO_MODEL = GLOB_SCALE / 1000
    ! Set text coordinate variable:
    ! samplesize is given in Paper Size – mm, convert it into Model size – m
    ! calculate the row height from it,
    ! therefore the row height will not depend on the font family
    dy = – theight1 * 1.5 * PAPER_TO_MODEL
    ! ——————————————————————————
    ! Display the texts
    ! ——————————————————————————
    style “Style1” ! Set the previously defined style
    text2 0, 0, “Text 1”
    text2 0, dy, “Text 2”
    text2 0, dy * 2, “Text 3”
    text2 0, dy * 3, “Text 4”

    ! ——————————————————————————
    ! Delete transformation after Text Rotation
    ! ——————————————————————————
    del _nTrans

    Graphisoft Berlin GmbH

    in reply to: Less complex examples #1482
    Frank Studzinski
    Participant

    It’s not the problem that i didn’t understand how to format a teststyle, but i would be easier to follow.

    To understand how you rotate the text, i first have to check in which line you handle the Rotation and in which not.

    Before i can run the script i have to create 10 parameters!

    Graphisoft Berlin GmbH

Viewing 12 posts - 1 through 12 (of 12 total)