3 Replies Latest reply on Mar 30, 2013 2:39 PM by Jerry Steiger

    Problem in inserting a part as the first part of an assembly

    hajime hajime

      I used File->New and chose Assembly. SW asked me to select a component to insert, I chose a .prt file and got "Failed to open file." I went to File->Open to open the same .prt file, I got the Import Diagnostics window, clicked yes and got "No faulty faces or gaps remain in the geometry." Clicked the check mark, nothing showed up on the screen. On the three, there are only: sensors, annotations, material, front plane, top plane, right plane, origin and a DIMMED Imported 1. Know what is going on?

       

      When I opened the step version of the same design, I could open it fine. How could I put it as the first part of my new Assembly? I want the center of this part to be the center of my more complicated assembly. Thanks.

        • Re: Problem in inserting a part as the first part of an assembly
          Alin Vargatu

          hajime, save the PRT or the STEP file as a SolidWorks part file first (just click "SAVE"). Then you would be able to insert it in the assembly.

           

          When you mention the "center of the part" do you mean its center of mass? If that is the case, place a coordinate system in the center of mass and mate that with the origin of the assembly.

           

          If you would post your STEP or PRT file here, I can do it for you.

            • Re: Problem in inserting a part as the first part of an assembly
              hajime hajime

              Thanks. Why can't I just import the file directly without going through the step you mentioned?

               

              Shall I place the origin of the first part as the origin of the assembly or the center of mass of the first part as the orign of the assembly? I think it is the former. Please confirm.

                • Re: Problem in inserting a part as the first part of an assembly
                  Jerry Steiger

                  Hajime,

                   

                  You have to save the part as a SolidWorks part because that it the way that people writing code want it done. Sorry.

                   

                  You can import an assembly and SolidWorks will build an assembly for you. You still have to save it as a SolidWorks assembly.

                   

                  If you place a part into an assembly and just click on the green arrow, it will place the origin of the part at the origin of the assembly, with the three part planes coincident with the three assembly planes (Front to Front, Top to Top, Right to Right). If you want to place the part with its center of mass at the origin of the assembly, then Alin's method should work well.

                   

                  Jerry S.