iLogic - Nicht verwendete Parameter bereinigen

iLogic - Nicht verwendete Parameter bereinigen

Uwe_Lindner
Collaborator Collaborator
854 Views
3 Replies
Message 1 of 4

iLogic - Nicht verwendete Parameter bereinigen

Uwe_Lindner
Collaborator
Collaborator

Gibt es eine Möglichkeit mit der man über iLogic den Befehl zum bereinigen von nicht verwendeten Parametern absetzen kann?

Nicht_verwendete_Parameter.JPG

0 Likes
Accepted solutions (1)
855 Views
3 Replies
Replies (3)
Message 2 of 4

bradeneuropeArthur
Mentor
Mentor

Hi,

 

This will help you I hope?

 

https://forums.autodesk.com/t5/inventor-customization/delete-unused-parameters/td-p/7027159

Regards,

Arthur Knoors

Autodesk Affiliations & Links:
blue LinkedIn LogoSquare Youtube Logo Isolated on White Background


Autodesk Software:Inventor Professional 2025 | Vault Professional 2024 | Autocad Mechanical 2024
Programming Skills:Vba | Vb.net (Add ins Vault / Inventor, Applications) | I-logic
Programming Examples:
Drawing List!|
Toggle Drawing Sheet!|
Workplane Resize!|
Drawing View Locker!|
Multi Sheet to Mono Sheet!|
Drawing Weld Symbols!|
Drawing View Label Align!|
Open From Balloon!|
Model State Lock!
Posts and Ideas:
My Ideas|
Dimension Component!|
Partlist Export!|
Derive I-properties!|
Vault Prompts Via API!|
Vault Handbook/Manual!|
Drawing Toggle Sheets!|
Vault Defer Update!

! For administrative reasons, please mark a "Solution as solved" when the issue is solved !


 


EESignature

Message 3 of 4

Sergio.D.Suárez
Mentor
Mentor
Accepted solution
For Each oParam As Parameter In ThisDoc.Document.ComponentDefinition.Parameters
	If Not oParam.InUse Then
		on error resume next
		question = MessageBox.Show("Delete Parameter: " & oParam.Name  & "?", "Purge Unused Parameters", MessageBoxButtons.YesNo, MessageBoxIcon.Question)
		If question = vbYes Then oParam.Delete()
	End If
Next
Hi, try this ilogic rule, I think it should work. regards

Please accept as solution and give likes if applicable.

I am attaching my Upwork profile for specific queries.

Sergio Daniel Suarez
Mechanical Designer

| Upwork Profile | LinkedIn

Message 4 of 4

Uwe_Lindner
Collaborator
Collaborator
Gracias por la rápida respuesta - funciona bien
0 Likes