how Do I create my our Content Center selection Through VBA form ?

how Do I create my our Content Center selection Through VBA form ?

Darkforce_the_ilogic_guy
Advisor Advisor
499 Views
6 Replies
Message 1 of 7

how Do I create my our Content Center selection Through VBA form ?

Darkforce_the_ilogic_guy
Advisor
Advisor

I have an custom library that I have create for the compony I am working for .. the problem is that we now want to have some data visible about the price  that might change form day to day .. so I want to make an overlay VBA form that control the content center  and the same time get data form our ERP about Price and number in stock does anybody know have to get the key data form Content Center  ?

0 Likes
500 Views
6 Replies
Replies (6)
Message 2 of 7

bradeneuropeArthur
Mentor
Mentor

Hi,

 

Are you aware that these properties are overwritten with a refresh from within inventor.

So in  worst case these info's are written back to default by accident!

What information would you like to add additional to the CC parts!

 

Regards

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

0 Likes
Message 3 of 7

I am aware.   But I do not want to add properties to the part. I just want to have some extra information available for the user.  the must import one is the price.  I want the use to know right of the bat  what the price is. 

 

 

 

 

this is what we have today

 

bt_1-1620722478086.png

 

I want this information added (screenshot form my Project to make it happen)

bt_0-1620722441331.png

 

What I want is to make it work as close as possible to how my content Center is working today .... just  with the extra information about the currect selectet material. So far I have only got it to find the name of the famile we have created and add it to the list

 

 

 

 

0 Likes
Message 4 of 7

Create a Custom Content Center and add these columns as key columns to the family!

Now they are visible!

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

0 Likes
Message 5 of 7

They are not a part of the Content Center .. It is  extranal information. I do not add it to the Content Center Because it made change a lot.  And Boss does not like the Layout of the data that is possible in the Content Center as well That was Why I ask have to make it in an form , as it give me more Created freedom how the data is presentatet to the User

0 Likes
Message 6 of 7

The parts in question are NO Content Center parts?

What are the than?

  • Normal Parts
  • Created From Content Center and then modified locally

You need a dialog that only shows the properties (Price etc) and is no a selection tool, for placement!

It is actually loose from CC!?

Correct?

regards

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

0 Likes
Message 7 of 7

the first Picture is our Content Center ..  Custom library. we use it to create an custom part . with will get some properties add on .. like our Part number  for raw materiale and length and so on. That is want our Content center can do today ... but We want to add more information for the user ... that are not add being added to the part ... but information about Price .. and If it is in our stock .. .. Price is use for making as cheap as possible ... and in stock  if we have to make it fast .. and do not have the time for using the cheapest material. The Price is not in the Content Center ..  but is in an SQL database but might get it form an Excel sheet.  Because of my lag in skill when it come to SQL

 

 

I have a piece of code that .... add All Standard part form an one library... and a other code that get all the name of my custom library... but I do not know how to get the same  and data form all the key columns.. and then only select one and create the files 

0 Likes