Where does this line need to be added?mihkov wrote: ↑Fri Aug 11, 2023 7:59 am Perfect example. Didn't see that there is one.Code: Select all
swPackAndGo.IncludeDrawings = True
Search found 6 matches
- Tue Aug 15, 2023 2:45 pm
- Forum: API
- Topic: Pack and Go Lite macro
- Replies: 6
- Views: 1648
Re: Pack and Go Lite macro
- Thu Aug 10, 2023 12:02 pm
- Forum: API
- Topic: Pack and Go Lite macro
- Replies: 6
- Views: 1648
Re: Pack and Go Lite macro
I don't know of a function that can find out which drawing an assembly or part file refers to without opening that assembly or part file. It can be assumed that the drawing has exactly the same name as the assembly or part, and look for such files and, if they exist, copy them. But this is a rather...
- Thu Aug 10, 2023 9:59 am
- Forum: API
- Topic: Pack and Go Lite macro
- Replies: 6
- Views: 1648
Re: Pack and Go Lite macro
Would it be possible to make a version of this that includes the drawings? This would become very useful if so.
- Wed Feb 08, 2023 1:50 pm
- Forum: Macro Library
- Topic: Hide all reference geometry (Blank Datums)
- Replies: 10
- Views: 2185
Re: Hide all reference geometry (Blank Datums)
Add this IF statement above the highlighted line in your error image. If mCompModelDoc(swChildComp) Is Nothing Then swChildComp.SetSuppression2 swComponentSuppressionState_e.swComponentFullyResolved End If Still sometimes receiving an error on some assemblies, but i'm not sure why. image.png image....
- Thu Feb 02, 2023 11:13 am
- Forum: Macro Library
- Topic: Hide all reference geometry (Blank Datums)
- Replies: 10
- Views: 2185
- Thu Feb 02, 2023 8:11 am
- Forum: Macro Library
- Topic: Hide all reference geometry (Blank Datums)
- Replies: 10
- Views: 2185
Re: Hide all reference geometry (Blank Datums)
@jcapriotti , I updated the file in my previous post with one that seems to work better on assemblies as well. For read-only files, any changes will be skipped (this assumes these files are checked-in and cannot be changed anyway). There is a prompt that asks for permission to open then close files...