Search found 8 matches

by mmaenpaa
Fri Nov 08, 2024 5:08 pm
Forum: API
Topic: Populate PDM Data Card Edit Box with Part Description
Replies: 8
Views: 328

Re: Populate PDM Data Card Edit Box with Part Description

The "letter positions" are not kits. All of the parts listed are loose parts and have real models, I just wanted a way to grab metadata of the part number listed. There is only one final BOM, consisting of the parts listed and how many positions it's used. For example, 35000-1366 has q tot...
by mmaenpaa
Fri Nov 08, 2024 2:37 pm
Forum: API
Topic: Populate PDM Data Card Edit Box with Part Description
Replies: 8
Views: 328

Re: Populate PDM Data Card Edit Box with Part Description

To help clarify a little more, these letter groupings are not assemblies themselves, they're loose parts in one kit.
by mmaenpaa
Fri Nov 08, 2024 2:22 pm
Forum: API
Topic: Populate PDM Data Card Edit Box with Part Description
Replies: 8
Views: 328

Re: Populate PDM Data Card Edit Box with Part Description

First step, is to re-create these in Solidworks/PDM and get rid of the Access DB. This will allow central location for editing and viewing, plus more secure in PDM. The Mfg. and Sales departments use the drawings. There are numerous combinations of these parts that can be used in a particular positi...
by mmaenpaa
Fri Nov 08, 2024 10:55 am
Forum: API
Topic: Populate PDM Data Card Edit Box with Part Description
Replies: 8
Views: 328

Populate PDM Data Card Edit Box with Part Description

Hi, I'm using SW2023 and PDM Pro. Is it possible to search the PDM database, to populate an Edit Box on the data card based on the part number in a separate edit box? These values are placed on a 2D drawing. We do not create assemblies of these configurations or place part views on these drawings, s...
by mmaenpaa
Tue Nov 05, 2024 4:44 pm
Forum: 2D Drawings
Topic: Layer visibility toggle
Replies: 5
Views: 330

Re: Layer visibility toggle

You can create your own tab on the Command Manager and put a button there for it. Then you would need to share your toolbar settings with your company if needed. image.png Thanks Jason, I figured that out yesterday, as well. The last time I used macros was back in 2012 when using Inventor, where th...
by mmaenpaa
Mon Nov 04, 2024 5:59 pm
Forum: 2D Drawings
Topic: Layer visibility toggle
Replies: 5
Views: 330

Re: Layer visibility toggle

I found some example code on the forum and was able to put something together that works.
https://www.cadforum.net/viewtopic.php? ... yer#p32178

Thanks,
Mike
by mmaenpaa
Mon Nov 04, 2024 3:53 pm
Forum: 2D Drawings
Topic: Layer visibility toggle
Replies: 5
Views: 330

Re: Layer visibility toggle

Jason, Yes, I meant with the PDM data card. I have the text change working fine via the data card/custom properties. It doesn't need to happen automatically when opening the drawing. Yes, the layer manager is what I'm trying to avoid. I've not written a macro in a long time. I tried to record a macr...
by mmaenpaa
Mon Nov 04, 2024 12:36 pm
Forum: 2D Drawings
Topic: Layer visibility toggle
Replies: 5
Views: 330

Layer visibility toggle

Hi All, I have a drawing with text controlled with Custom Properties/Data Card selection. I have arrows shown on the drawing, pointing left or right, each on separate layers. Based on data card selection, I have to open up the Layer properties and toggle visibility. Ideally, I I'd like to cut down o...