sketchucation logo sketchucation
    • Login
    ℹ️ Licensed Extensions | FredoBatch, ElevationProfile, FredoSketch, LayOps, MatSim and Pic2Shape will require license from Sept 1st More Info

    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.
    • artmusicstudioA Offline
      artmusicstudio
      last edited by

      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
      • TIGT Offline
        TIG Moderator
        last edited by

        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
        • artmusicstudioA Offline
          artmusicstudio
          last edited by

          @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
          • First post
            Last post
          Buy SketchPlus
          Buy SUbD
          Buy WrapR
          Buy eBook
          Buy Modelur
          Buy Vertex Tools
          Buy SketchCuisine
          Buy FormFonts

          Advertisement