Skylight 2D script

This topic contains 4 replies, has 2 voices, and was last updated by  Bruce Walker 3 years, 2 months ago.

  • Author
    Posts
  • #2313

    Bruce Walker
    Participant

    Can anyone offer help on how to script the 2D appearance of skylights? I understand that ArchiCAD wants to use projected views for skylights (as you have to turn on legacy stuff to get the symbolic view to display).

    However, I need to put in masking fills and opening lines – but they don’t show up. The ArchiCAD skylights “Skylight Pivot” and “Skylight Top Hung” manage to get in pivot lines (but not masking). I’ve looked at the script, but can’t see any unique conmmands that I need to invoke to get LINE2 to work.

    How do I get this working without using legacy display?

    Thanks.

    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

  • #2323

    Bruce Walker
    Participant

    Nobody from Graphisoft can help on 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

  • #2326

    Gergely Fehér
    Keymaster

    Without the legacy option the skylights are always projected: their 2d scripts don’t run in this situation. You need to create a proper model for the projection – this model can be different than the “normal” 3D model.

    Gergely Fehér
    Team Leader, Library Team
    GRAPHISOFT SE

  • #2330

    Bruce Walker
    Participant

    I don’t understand the reasoning behind this. Why are skylights singled out as no longer using their 2D script?

    I don’t want to activate ‘legacy,’ as clearly Graphisoft is steering away from this – and history has taught that unsupported items eventually stop working (makes sense). But I also want a masking fill and pivot lines.

    I have a idea on how I might do the pivot lines (but have no idea how to determine the dash length as defined in the MVO). I have no idea how to get the masking fill to work.

    Any help would be appreciated.

    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

  • #2339

    Bruce Walker
    Participant

    Ok. So I’ve managed to get my pivot lines working. But what I can’t figure out is:
    1. How to have a masking fill, so I don’t see what’s underneath the skylight
    2. How to have the skylight open in 3D / 3D document / section, but closed in plan (I’ve tried GLOB_CONTEXT and GLOB_VIEW_TYPE, but neither work).

    2D Hotspots work just fine though, so it at least executes some 2D commands.

    Once again: what is the reasoning behind this?

    Thanks in advance.

    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

You must be logged in to reply to this topic.