box data automatic with ilogic

box data automatic with ilogic

benigno.martinezvaldez
Participant Participant
304 Views
3 Replies
Message 1 of 4

box data automatic with ilogic

benigno.martinezvaldez
Participant
Participant

I have an addin that create a Qr code .
this is the Addin

 

benignomartinezvaldez_0-1648927654199.png

 

i want to write the part number in the box but automatic without write manually

 

This is my Rule that call the addin

Sub Main()
Sub Run_QR()
     
    Dim oDefs As ControlDefinitions
     oDefs = ThisApplication.CommandManager.ControlDefinitions
    Dim oDef As ControlDefinition
     oDef = oDefs.Item("CADStudio:XTools:CreateQRCode2")
    oDef.Execute
    
End Sub 

 

 

0 Likes
305 Views
3 Replies
Replies (3)
Message 2 of 4

Michael.Navara
Advisor
Advisor

What next? Do you want to show this QR code somewhere on drawing?

For this reason is there (in the XTools addin) automatic property conversion. QR code is stored as text in user defined property. Later on you can create sketched symbol or Titleblock, which can display this converted property value. 

If you need more info, you can see the documentation and samples installed with the addin.

0 Likes
Message 3 of 4

bradeneuropeArthur
Mentor
Mentor
Where is the code for the Dialogbox?
We need to have it for filling the partnumber in.

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 4 of 4

matt_jlt
Collaborator
Collaborator

Only ways i can think of

Refer to samples / product support for the addin you installed

 

Use the Win API to get the window / hwind ID and access the form that way (I dont recommend this as its not always reliable and is complicated)

 

Create your own addin; utilising something like ZXing / open source tool as the basis and integrate it into your own form.

0 Likes