• Login
sketchucation logo sketchucation
  • Login
ℹ️ GoFundMe | Our friend Gus Robatto needs some help in a challenging time Learn More

Reset axis of a component without changing its Position

Scheduled Pinned Locked Moved Dynamic Components
sketchup
9 Posts 5 Posters 2.8k Views
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 7 Oct 2015, 11:33

    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 7 Oct 2015, 11:41

      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
      • E Offline
        ely862me
        last edited by 7 Oct 2015, 11:58

        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 7 Oct 2015, 12:56

          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
          • S Offline
            sdmitch
            last edited by 7 Oct 2015, 14:03

            @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 9 Oct 2015, 05:42

              @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 9 Oct 2015, 09:36

                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
                • S Offline
                  sdmitch
                  last edited by 9 Oct 2015, 17:27

                  @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 10 Oct 2015, 07:15

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

                    Advertisement