Inventor DWG filename doesn't change to what I set it as

Inventor DWG filename doesn't change to what I set it as

Anonymous
Not applicable
318 Views
1 Reply
Message 1 of 2

Inventor DWG filename doesn't change to what I set it as

Anonymous
Not applicable

Hi guys,

 

I've written some iLogic code which should allows the user to change the sizes of the sides of an adaptor and then opens up a DWG file for the user to set their views. In an effort to automate even more, I wrote some code which would automatically set the filename and part number and all that too but the filename doesn't seem to be working correctly. It goes as:

 

In model, change iProperties("Summary", "Title") to the doc filename with Value1 and Value2 of the users choice in it.

 

In the drawing, set modeltitle as the model file's Summary: Title value using iProperties.Value feature. In the next rule, modelname = iProperties("Summary", "Title") and drawingname = [a designated server path] & modelname

 

My issue that under iProperties in the General Tab, the first box, something has happened and it is reading only a part of the name and not the whole thing. On top of this, the part name isn't coming out as it should.

 

Hope this makes sense and I appreciate all the help.

 

Merry Christmas!

 

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

bradeneuropeArthur
Mentor
Mentor

Please upload your code, so that we can support on this easier!

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