@ryan-feeley Thanks mate
I had to massage it a little but it appears to be working now. I still need to cleanup the code a bit, but I am getting the the transformed values now in the CSV file.
Search found 24 matches
- Thu Dec 14, 2023 8:57 pm
- Forum: How To Questions
- Topic: Transform a point in 3d sketch to a new coordinate system.
- Replies: 8
- Views: 1342
- Thu Dec 14, 2023 7:07 pm
- Forum: How To Questions
- Topic: Transform a point in 3d sketch to a new coordinate system.
- Replies: 8
- Views: 1342
Re: Transform a point in 3d sketch to a new coordinate system.
SPerman Yip, I have done it that way a few times. I was just thinking of making it easier for other people in the team. Also, by doing it the way I want, I can leave the original part modeled from the scan data and move the coordinate system to suite the Bender. If, for what ever reason, the bender...
- Thu Dec 14, 2023 5:36 pm
- Forum: How To Questions
- Topic: Transform a point in 3d sketch to a new coordinate system.
- Replies: 8
- Views: 1342
Re: Transform a point in 3d sketch to a new coordinate system.
Thanks SPerman , ryan-feeley . I saw those websites but I still struggling :? :lol: So I have a 3D sketch for the center line of the exhaust pipe. I have a number of points in the 3D sketch required for the bender. I have created the "New" coordinate system in a location that will work wit...
- Wed Dec 13, 2023 11:09 pm
- Forum: How To Questions
- Topic: Transform a point in 3d sketch to a new coordinate system.
- Replies: 8
- Views: 1342
Transform a point in 3d sketch to a new coordinate system.
I want to use scan data from a exhaust pipe to create a bend table for our bender. It uses XYZ and not LRA coordinate system. I can postprocess the scan data to generate a center line based on lines and arcs. I have also create a macro that will generate a CSV file with the XYZ coordinates of each p...
- Wed Nov 08, 2023 8:35 pm
- Forum: How To Questions
- Topic: Replace all instances of a file on a network drive with new version
- Replies: 7
- Views: 957
Re: Replace all instances of a file on a network drive with new version
I have done the "loop through all folders and subfolder" thing and it works - it is a bit slow, but will do for now - a lot faster than manual and no errors . There are about 3500 folders and 9000 files to check and it is done in about 5 sec. So it is all good.
- Wed Nov 08, 2023 3:36 pm
- Forum: How To Questions
- Topic: Replace all instances of a file on a network drive with new version
- Replies: 7
- Views: 957
Re: Replace all instances of a file on a network drive with new version
bnemec Thanks for the reply. We have our product specific components and then we have generic parts. The generic part numbers start with 000- , so it is easy to separate. The issue is with parts that are not generic, but is used in two or three (max 6) other products. We have about 800 products wit...
- Wed Nov 08, 2023 1:01 am
- Forum: How To Questions
- Topic: Replace all instances of a file on a network drive with new version
- Replies: 7
- Views: 957
Replace all instances of a file on a network drive with new version
We have a small engineering department using Solidworks and PDM. The factory is in a separate building and does not have access to the PDM. We have a folder system on the network with folders for each product. We then have a subfolder for DXF files and a subfolder for PDF drawings. I have created a ...
- Mon Oct 16, 2023 10:01 pm
- Forum: How To Questions
- Topic: Assembly custom property linked to part configuration
- Replies: 10
- Views: 1293
Re: Assembly custom property linked to part configuration
Hi josh , I have tried to use the same technique as what you have done, but I am struggling. If it was in the VB editor, it would have been a bit easier (Since I don't code that often :D ) but doing in the custom properties field is challenging. In essence, what I want to do is the following (writte...
- Sun Oct 15, 2023 4:15 pm
- Forum: SW General
- Topic: Total number of component as custom property...
- Replies: 12
- Views: 1393
Re: Total number of component as custom property...
I have added two lines of to skip sub-assemblies as I am only interested in individual parts. 1 Dim vComps As Variant Dim Cnt As Long Dim i As Long vComps = Assembly.GetComponents(False) For i = 0 To UBound(vComps) If vComps(i).GetSuppression2 <> 0 Then If vComps(i).GetModelDoc2.GetType = swDocPART ...
- Wed Oct 11, 2023 9:13 pm
- Forum: How To Questions
- Topic: Assembly custom property linked to part configuration
- Replies: 10
- Views: 1293
Re: Assembly custom property linked to part configuration
Yip, will have a new look at it with that in mind, thanks.
- Wed Oct 11, 2023 4:36 pm
- Forum: How To Questions
- Topic: Total number of componenets in Assembly
- Replies: 4
- Views: 826
Re: Total number of componenets in Assembly
Awesome Thanks @zwei
- Tue Oct 10, 2023 7:33 pm
- Forum: How To Questions
- Topic: Total number of componenets in Assembly
- Replies: 4
- Views: 826
Total number of componenets in Assembly
I want to create a custom property for an assembly to show the number of parts in the assembly. Basically I want to Link this to a custom property.
- Tue Oct 10, 2023 6:14 pm
- Forum: SolidWorks PDM
- Topic: Cannot undo file checked out on a "dead" computer
- Replies: 12
- Views: 1231
Re: Cannot undo file checked out on a "dead" computer
Finally - Thanks to @bnemec I have solved the issue. I had Admin in all the groups and the group policy prevented the "check out by other user" to be check-in.
- Mon Oct 09, 2023 9:34 pm
- Forum: SolidWorks PDM
- Topic: Cannot undo file checked out on a "dead" computer
- Replies: 12
- Views: 1231
Re: Cannot undo file checked out on a "dead" computer
This is a screen shot of the "Undo check out". I was expecting a warning that the file is checked out on another computer by another user, but that it will still allow me to undo the check out
- Mon Oct 09, 2023 5:43 pm
- Forum: SolidWorks PDM
- Topic: Cannot undo file checked out on a "dead" computer
- Replies: 12
- Views: 1231
Re: Cannot undo file checked out on a "dead" computer
I have tried both as "Admin" as well as on my account. Both just give me the same screen. It is the same whether I have the "Can undo check out files checked out by other users" selected or not selected. I normally set at group level, not user level.
- Mon Oct 09, 2023 4:40 pm
- Forum: How To Questions
- Topic: Assembly custom property linked to part configuration
- Replies: 10
- Views: 1293
Re: Assembly custom property linked to part configuration
Dwight . Thanks for the feedback. I would prefer to have the data in the Assembly's custom properties as I am using another macro to populated data for the ERP from the Assembly's custom properties. bnemec The "ZPaint" part is actually a spray gun that is visible in BOM drawing. In the BO...
- Mon Oct 09, 2023 2:01 am
- Forum: SolidWorks PDM
- Topic: Cannot undo file checked out on a "dead" computer
- Replies: 12
- Views: 1231
Cannot undo file checked out on a "dead" computer
One of the Pc's in the office died and there were a few files checked out by another user. I have admin rights, but for some reason can I not get the undo check out to work. I use SW2019 with PDM professional. I have done the required permissions etc. but it is not working.
- Sun Oct 08, 2023 6:53 pm
- Forum: How To Questions
- Topic: Assembly custom property linked to part configuration
- Replies: 10
- Views: 1293
Re: Assembly custom property linked to part configuration
Thanks, I will do it manually then
- Sun Oct 08, 2023 6:49 pm
- Forum: How To Questions
- Topic: Advance BOM with Drawing View
- Replies: 4
- Views: 966
Re: Advance BOM with Drawing View
Thanks, I will have a look at it when your done
- Thu Oct 05, 2023 6:31 pm
- Forum: How To Questions
- Topic: How to handle supersede parts in Solidworks PDM
- Replies: 5
- Views: 789
Re: How to handle supersede parts in Solidworks PDM
I have tried the method recommended by @CarrieIves, but it still the "discontinued" part can still be selected by the designers. Not sure if I did something wrong. I was hoping that all existing assemblies with the discontinued parts will still work as before, but designers should not be a...
- Thu Oct 05, 2023 6:25 pm
- Forum: How To Questions
- Topic: Assembly custom property linked to part configuration
- Replies: 10
- Views: 1293
Assembly custom property linked to part configuration
The way we address "paint" in our assemblies (mainly for EPR and BOM purposes) is to have a "dummy" part called ZPAINT in all assemblies. This dummy part has many configuration indicating the paint or powder coat process, the colour and the texture. I want the a custom property c...
- Wed Oct 04, 2023 9:48 pm
- Forum: How To Questions
- Topic: How to handle supersede parts in Solidworks PDM
- Replies: 5
- Views: 789
How to handle supersede parts in Solidworks PDM
We have about 800 assemblies in our PDM. Most of these assemblies use some generic parts. From time to time we update these generic parts. The challenge is to to keep the older generic parts in the PDM and keep using it in older designed assemblies, but to prevent designers to use these parts in new...
- Wed Oct 04, 2023 9:36 pm
- Forum: How To Questions
- Topic: Advance BOM with Drawing View
- Replies: 4
- Views: 966
Re: Advance BOM with Drawing View
Thanks, I missed your answer before - got side tracked I can use parts of it but it will still need a few major steps.
- Wed Mar 01, 2023 7:28 pm
- Forum: How To Questions
- Topic: Advance BOM with Drawing View
- Replies: 4
- Views: 966
Advance BOM with Drawing View
We manufacture Tow bars for all vehicles. The Top level assembly consist of between 8 and 20 parts. All parts are very simple Laser cut and bend sheet metal or Tube laser and bend RHS. As part of our drawing package for each part, we create a view "MW-View" on a sheet which include enough ...