• Login
sketchucation logo sketchucation
  • Login
๐Ÿค‘ SketchPlus 1.3 | 44 Tools for $15 until June 20th Buy Now

Section plane in page

Scheduled Pinned Locked Moved Developers' Forum
3 Posts 2 Posters 5.0k Views 2 Watching
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    artmusicstudio
    last edited by 6 Feb 2021, 12:22

    hello,
    i studied the api, but cannot find a way to

    retrieve the active section plane of a page

    without making the page an active page (means only by iteration thru pages and getting the corresponding section-plane).

    is that possible?

    thanx a lot for helping !
    stan

    1 Reply Last reply Reply Quote 0
    • T Offline
      TIG Moderator
      last edited by 6 Feb 2021, 14:38

      A page does not 'have' the active_section_plane.
      That belongs to the model.active_entities as .active_section_plane
      So you do need to make the page [scene] in question model.pages.selected_page= and then check the active section-plane details in the model.active_entities ...

      TIG

      1 Reply Last reply Reply Quote 0
      • A Offline
        artmusicstudio
        last edited by 6 Feb 2021, 15:38

        @tig said:

        A page does not 'have' the active_section_plane.
        That belongs to the model.active_entities as .active_section_plane
        So you do need to make the page [scene] in question model.pages.selected_page= and then check the active section-plane details in the model.active_entities ...

        HI TIG,

        yes, thanx a lot, i am at this point, too, i think,
        and i could iterate thru all pages (make the active one after another), with view.refresh off, maybe,

        i just was hoping, that there is a hidden property for an active section.

        so the conclusion is:

        the page (scene) stores the active section - but there is no way to retrieve it directly by api at the moment ๐Ÿ˜„

        thanx a lot again ๐Ÿ˜„
        stan

        1 Reply Last reply Reply Quote 0
        • 1 / 1
        1 / 1
        • First post
          1/3
          Last post
        Buy SketchPlus
        Buy SUbD
        Buy WrapR
        Buy eBook
        Buy Modelur
        Buy Vertex Tools
        Buy SketchCuisine
        Buy FormFonts

        Advertisement