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

    Reset axis of a component without changing its Position

    Scheduled Pinned Locked Moved Dynamic Components
    sketchup
    9 Posts 5 Posters 2.8k 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.
    • R Offline
      rnpatel9789
      last edited by

      I want to change the axis of the ComponentInstance. how I can change the axis of the component without changing the position of the component by code.

      1 Reply Last reply Reply Quote 0
      • P Offline
        pcmoor
        last edited by

        open the component, then right click on the axis (easier to pick outside the geometry) from the context menu pick an option. Say place, then place and orientate as required

        1 Reply Last reply Reply Quote 0
        • ely862meE Offline
          ely862me
          last edited by

          Right click on the component, choose Change axes and proceed as desired.

          Elisei (sketchupper)


          Before no life was done on Earth it was THE LIFE ITSELF...GOD
          Come and See EliseiDesign

          1 Reply Last reply Reply Quote 0
          • R Offline
            rnpatel9789
            last edited by

            I am doing this by using Sketchup Ruby API. Please if any one have any idea how to do this by code.

            1 Reply Last reply Reply Quote 0
            • sdmitchS Offline
              sdmitch
              last edited by

              @rnpatel9789 said:

              I am doing this by using Sketchup Ruby API. Please if any one have any idea how to do this by code.

              It seems that TIG and/or ThomThom had such a plugin. I have one also,Reset Component Origin. You can find it on my blog.

              Nothing is worthless, it can always be used as a bad example.

              http://sdmitch.blogspot.com/

              1 Reply Last reply Reply Quote 0
              • R Offline
                rnpatel9789
                last edited by

                @sdmitch said:

                It seems that TIG and/or ThomThom had such a plugin. I have one also,Reset Component Origin. You can find it on my blog.

                Hello "sdmitch"

                I use your Plugin. its very good and useful plugin. I am doing same but I resetting the component and all it's entities Origin to global Origin. Please If you have any idea then guide.This is exactly I want to do.

                1 Reply Last reply Reply Quote 0
                • D Offline
                  driven
                  last edited by

                  model.export ifc, renames each component to make it unique, and assigns the global origin...

                  model.import ifc, will bring them all back in but without materials...

                  if you collected the materials first, export all geometry to ifc, delete all geometry, import that 'new' ifc and reapply the materials...

                  just a thought...

                  learn from the mistakes of others, you may not live long enough to make them all yourself...

                  1 Reply Last reply Reply Quote 0
                  • sdmitchS Offline
                    sdmitch
                    last edited by

                    @rnpatel9789 said:

                    @sdmitch said:

                    It seems that TIG and/or ThomThom had such a plugin. I have one also,Reset Component Origin. You can find it on my blog.

                    Hello "sdmitch"

                    I use your Plugin. its very good and useful plugin. I am doing same but I resetting the component and all it's entities Origin to global Origin. Please If you have any idea then guide.[attachment=0:4x9y18yz]<!-- ia0 -->axis.png<!-- ia0 -->[/attachment:4x9y18yz]

                    I think you will find the answer hear

                    http://sketchucation.com/forums/viewtopic.php?f=323%26amp;t=43582%26amp;hilit=originate

                    Nothing is worthless, it can always be used as a bad example.

                    http://sdmitch.blogspot.com/

                    1 Reply Last reply Reply Quote 0
                    • R Offline
                      rnpatel9789
                      last edited by

                      @sdmitch said:

                      @rnpatel9789 said:

                      @sdmitch said:

                      It seems that TIG and/or ThomThom had such a plugin. I have one also,Reset Component Origin. You can find it on my blog.

                      Hello "sdmitch"

                      I use your Plugin. its very good and useful plugin. I am doing same but I resetting the component and all it's entities Origin to global Origin. Please If you have any idea then guide.[attachment=0:2cxiw7c5]<!-- ia0 -->axis.png<!-- ia0 -->[/attachment:2cxiw7c5]

                      I think you will find the answer hear

                      http://sketchucation.com/forums/viewtopic.php?f=323%26amp;t=43582%26amp;hilit=originate

                      Thanks "sdmitch"

                      This is exactly what I am looking for. Thanks for the help. U really Doing great job.

                      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