Colour/Layer change of a feature in drawing document

Colour/Layer change of a feature in drawing document

M
Contributor Contributor
405 Views
2 Replies
Message 1 of 3

Colour/Layer change of a feature in drawing document

M
Contributor
Contributor

 Hello

 

Is it possible, in drawing document using iLogic/VBA, to select edges of a particular part feature (extrusion of a text for engraving purposes) and then to change that selection colour/layer in all placed views.

If it's within Inventor 2015 capabilities can anyone suggest a solution, I hope I'm not the only one interested in this subject.

 

The purpose would be to label a sheet metal part with with a user text parameter, for laser cutting/engraving, so the physical part would be quickly identified, particularily when parts are very simmilar but yet different.

 

Regards

MS

Application version: APDSU 2015

APDSU 2015-2021
==========================================================
Please use the "Accept as Solution" and "Give Kudos" functions as appropriate to further enhance the value of these forums.
0 Likes
406 Views
2 Replies
Replies (2)
Message 2 of 3

miechh
Collaborator
Collaborator

Not many answers on this question. I'm looking for the exact same thing, also. Tried several options including setting the selection filter on Features through the API, but then my selection pick procedure won't let me select the part feature. There's no kDrawingPartFeature enumerator....


Product Design Suite 2024
Inventor 2024 (v 28.20.27200.0000), Vault Basic 2024
Fusion 360
HP Workstation Z4
Intel Xeon 3.4GHz
32GB RAM
Windows 10 Professional (64bit)
0 Likes
Message 3 of 3

frederic.vandenplas
Collaborator
Collaborator

Here is a link where almost the same is accomplished, but on part level of an assembly.

If you dig deeper into de componentdefinition, it's possible to do the same with part features, just loop through each feature in the componentdefinition.

http://modthemachine.typepad.com/my_weblog/2010/10/changing-drawing-curves-to-match-assembly-color.h...

If you think this answer fullfilled your needs, improved your knowledge or leads to a solution,
please feel free to "kudos"
0 Likes