Announcements
Attention for Customers without Multi-Factor Authentication or Single Sign-On - OTP Verification rolls out April 2025. Read all about it here.
G60Dub
in reply to: MechMachineMan

Hi folks

 

I'm using Inventor 2018.3 Pro. 

 

Changing the iProperties from Windows Explorer was handy -  It's been so long since last using this method that I had completely forgotten about its' existence so many thanks for the reminder.   Smiley Happy

 

One of the suggestions above was using prompted entires in 2018.2 and onwards.   I'm familiar with using prompted entries in field text in drawings but not in the context inferred above- I've had a look at what's new in 2018.2 and cannot see anything that is pertinent to the posts above.   Smiley Frustrated 

 

 

I've compacted my code slightly but still doesn't quite run the way I expect it to.- It pops up the Menu form on first run regardless of whether the fields are populated whereas I'd prefer it to only run if any of the fields are still blank on first save.  I'm new to using VB (have only done a bit of Pascal and C++ in the past) so have no idea as to what conditional logic commands are available.  

 

While ((String.IsNullOrWhiteSpace(Project) = True Or (String.IsNullOrWhiteSpace(Title) = True) Or (String.IsNullOrWhiteSpace(Description) = True) Or (String.IsNullOrWhiteSpace(Author) = True)))
'
'Call pop-up form "Required Fields Form"
'
iLogicForm.Show("Required Fields Form", FormMode.Modal)
'
'Write Project string contents to respective iProperties
'
Project = iProperties.Value("Project", "Project")
Title = iProperties.Value("Summary", "Title")
Description = iProperties.Value("Project", "Description")
Author = iProperties.Value("Summary", "Author")
'
End While

 

 

Also handy to know there is a dedicated forum for coding!   I'll keep this post here running to its' conclusion but for cody stuff will post in the respective forum going forward.