Access Date

Access Date

Anonymous
Not applicable
285 Views
1 Reply
Message 1 of 2

Access Date

Anonymous
Not applicable

<->Can I create an iProperty to show an Access Date?

0 Likes
286 Views
1 Reply
Reply (1)
Message 2 of 2

Anonymous
Not applicable

Hi, Alayars,

 

Yes, you can. How do you want to do that?

1. Manualy through Inventor inteface (iProperty window) or,

2. through VBA code, i.e. object tree.

 

1. Type Access Date in field Name on Custom tab in iProperties window

2. Choose Date from drop down list in field Type

3. Type in field Value date and check it in check box.

4. Click on Add and OK.

 

if you want to modify access date-click on your access date in table, enter new access date in field Value, click on Modify button, and OK.

 

If you want to use VBA code:

Sub test()

   Dim nModel As PartDocument
   Set nModel = ThisApplication.ActiveEditDocument

   Dim nPropSetCust As PropertySet
   Set nPropSetCust = nModel.PropertySets(4)

   Dim nAccessDate As Property
   Set nAccessDate = nPropSetCust.Add(#5/9/2014#, "Access date")

End Sub

 

Custom properties you can find in PropertySet>Item (4)

Date type between #

 

Best regards,

Nedeljko

 

0 Likes