iLogic: sketched symbol >> suppress prompt

iLogic: sketched symbol >> suppress prompt

joris.engelbertink
Enthusiast Enthusiast
719 Views
5 Replies
Message 1 of 6

iLogic: sketched symbol >> suppress prompt

joris.engelbertink
Enthusiast
Enthusiast

Hello,

 

I have a drawing template with a sketched symbol already on my sheet. When I create a new drawing, I first get the prompt entry pop-up from the sketched symbol. After that my default values are filled in.

 

Is there a way to suppress this prompt with some nice code?

 

Help is much appreciated! 

 

thanks in advance,

 

Joris

0 Likes
Accepted solutions (1)
720 Views
5 Replies
Replies (5)
Message 2 of 6

bradeneuropeArthur
Mentor
Mentor
yes

inventorapp.silentoperation = true

then your code

inventorapp.silentoperation = false

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 6

joris.engelbertink
Enthusiast
Enthusiast

Thanks for your reply, but its not working..

 

I have a drawing template with a sketched symbol that has a prompt entry.

 

When I create a new drawing file from this template I first have to deal with the prompt before the new drawing is visible on screen.

 

What I'm looking for is a way to suppress this prompt in advance. It seems to have some relation to "from template > to new file" where the prompt-entry is erased.

 

Any help is welcome!

 

Thanks!

 

 

 

 

 

 

0 Likes
Message 4 of 6

HermJan.Otterman
Advisor
Advisor

in your template, title block remove the prompted entry,

create in the template a custom property,

link this property to the titleblock.

create a new rule to set the custom property.

start the custom rule with the "after open" event trigger.

 

now you can do with it as you please...

If this answers your question then please select "Accept as Solution"
Kudo's are also appreciated Smiley Wink

Succes on your project, and have a nice day

Herm Jan


0 Likes
Message 5 of 6

joris.engelbertink
Enthusiast
Enthusiast
Yess, that would work, but..

accessing iProperties to change the value is less convenient than edit-text with right mouse button on the sketched symbol..

any other ideas?

Thanks!

0 Likes
Message 6 of 6

HermJan.Otterman
Advisor
Advisor
Accepted solution

if you would make a rule/form to change the iProperties, it would be even easier.....Smiley Happy

If this answers your question then please select "Accept as Solution"
Kudo's are also appreciated Smiley Wink

Succes on your project, and have a nice day

Herm Jan


0 Likes