Kristian Bursell

Forum Replies Created

Viewing 15 posts - 1 through 15 (of 15 total)
  • Author
    Posts

  • Kristian Bursell
    Participant

    Hi Gergely (and Joachim),
    I thought i would add this question here as it is related.
    I have a problem where the WALL_SKINS_PARAMS is not working in the 3D script but works in the 2D script.
    I am creating plaster returns for my windows and the 2D works fine but the 3D is acting as if the wall is a single skin saying the index is greater than the array dimension.

    SCRIPT (identical in 2D and 3D)
    if WALL_SKINS_NUMBER > 1 then
    !!——————————————-INTERNAL
    SKINFillInt = “”
    SKINThickInt = .010
    SKINPenInt = 1
    SKINPenFillInt = 1
    SKINPenBGInt = 1
    if GLOB_CONTEXT # 5 then
    SKINFillInt = WALL_SKINS_PARAMS[WALL_SKINS_NUMBER][1]
    SKINThickInt = WALL_SKINS_PARAMS[WALL_SKINS_NUMBER][2]
    SKINPenInt = WALL_SKINS_PARAMS[WALL_SKINS_NUMBER][9]
    SKINPenFillInt = WALL_SKINS_PARAMS[WALL_SKINS_NUMBER][4]
    SKINPenBGInt = WALL_SKINS_PARAMS[WALL_SKINS_NUMBER][5]
    endif
    material WALL_MAT_A

    CADSWIFT
    Australia

  • in reply to: zone number counting value #3712

    Kristian Bursell
    Participant

    thanks Barry and Peter,

    it works if you just simply type the prefix in but I want to define th prefix in the GDL code based on several other parameter values. Therefore i need to set in the GDL code: parameters ROOM_NUMBER = prefix + counting function

    CADSWIFT
    Australia

  • in reply to: XML Extension #3649

    Kristian Bursell
    Participant

    Hi Michael,

    No i didn’t and i don’t believe it is possible. lines in XML don’t actually mean anything and are just convenient formatting (as you probably know).
    The way i do it is i set up a sample of the structure i want and then using GDL I copy this structure and then populate the copy. feel free to call (0412 781 769) if you want to discuss it further.

    CADSWIFT
    Australia

  • in reply to: Stop label mirroring on Hotlinked Module #3451

    Kristian Bursell
    Participant

    Hi Csilla,

    It seems i’m not getting email notifications of replies from this site.
    Anyway, i was a bit lazy on this as it was a request from a client i didn’t want to spend too much time testing. I checked and it doesn’t matter if it is hotlinked or not. if i mirror a room it has the same affect. So obviously this puts the blame on the “Flip wall on reference line” function. So all i need to do is find out what side of the reference line to wall is on. I will search the GDL guide for value to reference but if you know the script in need could you please let me know.

    Thanks

    CADSWIFT
    Australia

  • in reply to: Wall Type Label #3401

    Kristian Bursell
    Participant

    Hi Karoly,

    Sorry i didn’t see this a year ago, I’m actually looking for answers to labels at the moment also. You need this script.

    if label_custom_arrow then
    add2 label_position[2][1]+label_position[3][1],
    label_position[2][2]+label_position[3][2]
    endif

    CADSWIFT
    Australia

  • in reply to: Array Parameter #3400

    Kristian Bursell
    Participant

    Hi Daniel,

    Did you resolve this successfully. I use the loop functions like Gergely described though i do it with invisible/local arrays which i use to populate the visible/parameter array as it allows the array to expand and shrink. When I started doing this a few years ago I had to do it this way to get the array to shrink.

    CADSWIFT
    Australia

  • in reply to: dynamic arrays and returned_​parameters #2846

    Kristian Bursell
    Participant

    perfect! you guys are brilliant! all the answers follow the most direct logic and simplify very powerful functionality.

    CADSWIFT
    Australia

  • in reply to: Value{2} and put functions please #2145

    Kristian Bursell
    Participant

    sorry a couple of cropped sentences above, very tired at the moment.
    I haven’t tried anything else because… i’m very busy and very tired. GDL 12hrs a day weakens the brain muscle come Friday afternoon.

    CADSWIFT
    Australia

  • in reply to: XML Extension #1916

    Kristian Bursell
    Participant

    Thank you for the information in Tips and Tricks it is very useful.

    I am now struggling a little with the OUTPUT function of the XML Add-on.
    I have manage to modify the XML file with OUTPUT and a bit of testing help me to understand the navigation aspect, which as you know is done using the INPUT commands as describe in Tips and Tricks.
    The issue i cannot resolve is how to get the OUTPUT function to create a new line in the XML file. Using the only 4 options available (AsNextSibling/AsPreviousSibling/AsFirstChild/AsLastChild) only allows me to write on the same line as the Position Description. Can I get it to create a new line or do I have to come up with a different XML structure?

    I’m using the ‘Copy’ function so perhaps if i had a specific character in the XML file that got copied in this function perhaps that would somehow create my new line for me?

    thanks,
    Kristian

    CADSWIFT
    Australia

  • in reply to: XML Extension #1910

    Kristian Bursell
    Participant

    Thank you Csilla,

    I will email through my request with a bit of detail shortly.

    CADSWIFT
    Australia

  • in reply to: What is the proper replacement for GLOB_​CONTEXT=1? #1821

    Kristian Bursell
    Participant

    I tend to agree with Kristian and Barry. I am fortunate that I have not used the process Barry describes but it is quite clever and I definitely see the need for it. There are certain modifications i just don’t make because of the damage they would cause to placed objects. It is such a shame that GS has removed this possibility.
    I was a bit concerned about the functions I do use glob_context for but fortunately you have replaced them with the Glob Execution Contexts. I think you should add the Glob_Context = 1 into this new list

    CADSWIFT
    Australia

  • in reply to: GDL Sublime #1729

    Kristian Bursell
    Participant

    Holger, have you tried it.

    I would definitely use a GDL editor of some sort if it gave me all the windows currently in GDL (2d and 3d views important obviously) and if it just had two simple functions;
    2. Subroutine minimising – would make navigating so much easier and would show you the structure at a glance.
    1. line numbering.

    i don’t think i need anything else.

    CADSWIFT
    Australia

  • in reply to: XML Extension #1603

    Kristian Bursell
    Participant

    Thanks Gergely, I completely understand the time it may take and never expected a quick response. It would be so useful that I am happy to wait and can get by for now anyway.
    hopefully responses don’t rely purely on your resources and some of our fellow GDLers can share their knowledge. If I ever get time to really pull it apart to create more efficient mapping then I will document as I go and post it.

    CADSWIFT
    Australia

  • in reply to: Thank you for creating GDL center! #1527

    Kristian Bursell
    Participant

    I’d also like to say thank you, though my reasons are a little different from Antons. I never struggled learning GDL even when I first started, we just seemed to click even though I had no coding experience; it was meant to be ;).
    However, being a GDL coder has been a lonely journey; people glaze over when I start talking GDL. So I look forward to a strengthening GDL community through the GDL centre.

    Thank you

    CADSWIFT
    Australia

  • in reply to: Comprehensive section on globals and requests #1514

    Kristian Bursell
    Participant

    I second this request and will eagerly await the new chapter in the GDL reference guide.

    CADSWIFT
    Australia

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