Message 1 of 2
How to manage detail and section

Not applicable
05-25-2020
11:48 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello All,
I want to manage detail and section by name.
If some parametr from part in assembly is true/ false or some value, then I want to change visibility of detail (suppress them)
For exmpl.
modelNameHorniUkos = IO.Path.GetFileName(ActiveSheet.View("Base_Component").ModelDocument.FullFileName) If Parameter(modelNameHorniUkos &".d20") = 0 mm Then ThisDrawing.Sheet("Sheet:1").View("horni ukos").View.Suppressed = True Else ThisDrawing.Sheet("Sheet:1").View("horni ukos").View.Suppressed = False End If
But, I need to rename detail from A to Z. I have VBA code for it, but when I run the code, I´m not able to manage detail suppress. Because details are managing by name.
Can anybody help me?
thank you.