Inventor ilogic rule for accepting Yes when saving iparts

Inventor ilogic rule for accepting Yes when saving iparts

bionorica2015
Enthusiast Enthusiast
413 Views
2 Replies
Message 1 of 3

Inventor ilogic rule for accepting Yes when saving iparts

bionorica2015
Enthusiast
Enthusiast

Hello!

When I  choose all iparts and save them by right click "Saving files" I get accepting Msg box window with Yes/No accepting for each ipart. I have sometimes over 100 iparts. It is difficult to press Yes for each ipart.

One year ago i saw in Internet one ilogic rule which loops-automates this process.

If You know please give link

Thank You!  

0 Likes
414 Views
2 Replies
Replies (2)
Message 2 of 3

bradeneuropeArthur
Mentor
Mentor

With this:

 

Dim p As Inventor.PartDocument = ThisDoc.Document
Dim c As Inventor.PartComponentDefinition = p.ComponentDefinition

Dim a As Inventor.iPartFactory = c.iPartFactory

	For Each r As Inventor.iPartTableRow In a.TableRows
		a.CreateMember(r)
		Next

 

@CGBenner should be moved to Vba ilogic Vb.net Forum.

 

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 3

bionorica2015
Enthusiast
Enthusiast
0 Likes