sketchucation logo sketchucation
    • Login
    🤑 SketchPlus 1.3 | 44 Tools for $15 until June 20th Buy Now

    Save As (exporting geometry)

    Scheduled Pinned Locked Moved Developers' Forum
    6 Posts 5 Posters 533 Views 5 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.
    • JClementsJ Offline
      JClements
      last edited by JClements

      As far as I know, the only way to export geometry from within a model is to first create a Component from a selection and then via the context-menu or the component browser, do a Save As.

      Is there any reason why a Save As couldn't be done directly by right-mouse-clicking a Selection of geometry or right-mouse-clicking on a Group? In seems like a waste of time to have to create a "temporary" component so you export the geometry and then explode that component afterwards if that component isn't required in the model.

      John | Illustrator | Beaverton, Oregon

      1 Reply Last reply Reply Quote 0
      • T Offline
        todd burch
        last edited by

        I'm pretty sure that could be written.

        BTW, IM me when you get a chance. I want to run a new script by you that is in the works.

        Todd

        1 Reply Last reply Reply Quote 0
        • TIGT Offline
          TIG Moderator
          last edited by

          There is a SDK method ...Group.Save_As (or something similar). You could then group the geometry and 'export' if that way: exploding back to the original afterwards.

          It would need a .dll of .so writing ? With it you could then export anything you wanted from inside a model - selected geometry, groups, components (add a component instance inside a temp group, explode the instance, save_as the group, erase the group...)... etc.

          My C++ isn't up to doing it BUT it must be pretty easy for those that can...
          .

          TIG

          1 Reply Last reply Reply Quote 0
          • daikuD Offline
            daiku
            last edited by

            I'm also wishing we had a way to do this from a ruby script. The nearest I've come is to delete the entire model excpet for the comp instance to be saved, then save the model, and then restore the original using undo. Clumsy, but it works. CB.

            Clark Bremer
            http://www.northernlightstimberframing.com

            1 Reply Last reply Reply Quote 0
            • TIGT Offline
              TIG Moderator
              last edited by

              It just needs someone to sort out a group.save_as using the SDK and then any geometry can be exported into separate file... Any takers ?

              .

              TIG

              1 Reply Last reply Reply Quote 0
              • W Offline
                wikii
                last edited by

                I also want a script to export dwg file with select entities.

                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