Section Marker Tail

Viewing 9 reply threads
  • Author
    Posts
    • #3765
      Bruce Walker
      Participant

      Can someone point me in the right direction to figure out how to test which end of the section line is being drawn?

      I want to create a section marker that will put a ‘tail’ on one end, instead of the head. I know it can be done, as I’ve seen a couple of examples of it in action – unfortunately I am not able to get my hands on these to have a look at the script (and GS doesn’t have a part that does this). I can’t find anything in the GDL reference guide, or the GDL Cookbook.

      Any clues?

      Cheers,

      www.brucepwalker.com
      https://www.mindmeister.com/65450406

      AC20 6005 AUS Full & AC 21 3009 NZE Full | Win 10 Pro 64 | Intel i7-7700HQ 2.80GHz | 16 Gb RAM
      NVIDIA GeForce GTX 1060 8Mb

    • #3766
      James Murray
      Participant

      A section marker is drawn twice — the second time it is mirrored, and the SYMB_MIRRORED global is 1. By testing this global you can draw the head and tail once each. Then I have a checkbox parameter to flip the head and tail if desired.

      James M

    • #3767
      Bruce Walker
      Participant

      Thanks – this is exactly what I’m after. Thanks for that.

      www.brucepwalker.com
      https://www.mindmeister.com/65450406

      AC20 6005 AUS Full & AC 21 3009 NZE Full | Win 10 Pro 64 | Intel i7-7700HQ 2.80GHz | 16 Gb RAM
      NVIDIA GeForce GTX 1060 8Mb

    • #3768
      Bruce Walker
      Participant

      One more question: how do you hide the part of the section line that crosses the head (see image)? I’ve had a look at the GS part, but nothing stands out.

      www.brucepwalker.com
      https://www.mindmeister.com/65450406

      AC20 6005 AUS Full & AC 21 3009 NZE Full | Win 10 Pro 64 | Intel i7-7700HQ 2.80GHz | 16 Gb RAM
      NVIDIA GeForce GTX 1060 8Mb

    • #3789
      Bruce Walker
      Participant

      Can someone from GS help me here? The Built-in Section Marker does this, but I can’t figure out how.

      www.brucepwalker.com
      https://www.mindmeister.com/65450406

      AC20 6005 AUS Full & AC 21 3009 NZE Full | Win 10 Pro 64 | Intel i7-7700HQ 2.80GHz | 16 Gb RAM
      NVIDIA GeForce GTX 1060 8Mb

    • #3799
      Bruce Walker
      Participant

      I would have thought this was an easy one.

      I have compromised, and inserted an ADD2 command to move the head away from the section line end. Not my preference, as this means the marker requires even more space on the sheet, but I can’t figure out how the Built-In Section Marker achieves this.

      www.brucepwalker.com
      https://www.mindmeister.com/65450406

      AC20 6005 AUS Full & AC 21 3009 NZE Full | Win 10 Pro 64 | Intel i7-7700HQ 2.80GHz | 16 Gb RAM
      NVIDIA GeForce GTX 1060 8Mb

    • #3800
      James Murray
      Participant

      I have mine offset from the origin — the line meets the corner of the triangle. The built-in one uses a masking fill inside the circle. (It’s the window background color by default, making it impossible to see).

      James M

    • #3801
      Bruce Walker
      Participant

      I don’t see how this works, as:
      1. The section line is drawn in front of the marker head, so masking fills have no effect (not that I can figure)
      2. Even when the masking fill is turned off, the section line goes to the edge of the marker.

      ?? Confused.

      www.brucepwalker.com
      https://www.mindmeister.com/65450406

      AC20 6005 AUS Full & AC 21 3009 NZE Full | Win 10 Pro 64 | Intel i7-7700HQ 2.80GHz | 16 Gb RAM
      NVIDIA GeForce GTX 1060 8Mb

    • #3822
      Gergely Fehér
      Keymaster

      You need to set/use the AC_MarkerSize parameter correctly, it will shorten the line to the proper length.

      Gergely Fehér
      Team Leader, Library Team
      GRAPHISOFT SE

    • #3839
      Bruce Walker
      Participant

      Thanks Gergely – very helpful. I didn’t think to check the template parameters for a logical setting.

      Unfortunately, it turns out that the AC_SectionLineStartOffset parameter will set the start for both ends – I can’t test with a SYMB_MIRRORED to shorten one end and not the other.

      Never mind – good to know! Thanks again for your help.

      www.brucepwalker.com
      https://www.mindmeister.com/65450406

      AC20 6005 AUS Full & AC 21 3009 NZE Full | Win 10 Pro 64 | Intel i7-7700HQ 2.80GHz | 16 Gb RAM
      NVIDIA GeForce GTX 1060 8Mb

Viewing 9 reply threads
  • The forum ‘Documentation elements, text handling’ is closed to new topics and replies.