Community
Inventor Programming - iLogic, Macros, AddIns & Apprentice
Inventor iLogic, Macros, AddIns & Apprentice Forum. Share your knowledge, ask questions, and explore popular Inventor topics related to programming, creating add-ins, macros, working with the API or creating iLogic tools.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Create iProperty date type

2 REPLIES 2
SOLVED
Reply
Message 1 of 3
Milan_Nosil
430 Views, 2 Replies

Create iProperty date type

Hello, 

can anyone advise me please? I need create a new iProperty with a date type. I don't want to create an iProperty very often, I would just like to run a rule and thus create iproperts as in the picture.

 

Thank you for any advice.

Labels (1)
2 REPLIES 2
Message 2 of 3
JhoelForshav
in reply to: Milan_Nosil

Hi @Milan_Nosil 

The property type that's being created depends on the object type of the value you set to it.

So if you add a value of type date, it'll be a date property:

try this ilogic rule:

Dim oDate As Date = Now.Date
iProperties.Value("Custom", "Date") = oDate
Message 3 of 3
Milan_Nosil
in reply to: JhoelForshav

Thank you very much 🙂

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Technology Administrators


Autodesk Design & Make Report