ReadOnly I-Properties possible?

ReadOnly I-Properties possible?

mucip
Collaborator Collaborator
727 Views
2 Replies
Message 1 of 3

ReadOnly I-Properties possible?

mucip
Collaborator
Collaborator

Hi,

I'm writing very simple PLM Program with VB Express 2010 on Inventor 2013. I save some data in Custom properties section. But I do not want to modify this data within Inventor. I want to use only my API program to change this Custom properties... Is this possible?...

 

Regards,

Mucip:)

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

YuhanZhang
Autodesk
Autodesk
Accepted solution

If you don't need others to view the properties maybe you can try to create a hidden property set whichcan by accessed by yourself. To add a hidden property set is to specify its name with an underline as prefix like below:

 

Dim oDoc As Document
Set oDoc = ThisApplication.ActiveDocument
    
Dim oSet As PropertySet
Set oSet = oDoc.PropertySets.Add("_Hidden")

 

 

If you add a hidden property set you should restore its name/internal name somewhere to make sure you can access it again.

 



If this solves the problem please click ACCEPT SOLUTION so other people can find it easily.



Rocky Zhang
Inventor API PD
Manufacturing Solutions
Autodesk, Inc.

0 Likes
Message 3 of 3

mucip
Collaborator
Collaborator

Hi,

İt works... Thanks...

 

Regards,

Mucip:)

0 Likes