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

How did i make this Multiline Iproperty?

AMN3161
Advocate

How did i make this Multiline Iproperty?

AMN3161
Advocate
Advocate

Ok so i made this before but for the life of me i cant recreate it.

 

There is a trigger upon save for a dialog box to open and ask you if you want to update the title block information. if you say yes then a form comes up and there is a input for the drawing notes at the bottom of the form. In the title block there is "notes" section which is a custom ipropety linked to multi value text parameter. I cant not figure out how i made something in the multi value text parameter act like formatting in the "comments" section of the iproperties.

 

So you can hit enter and go down a few lines and put more information and it treats that multi value text parameter as basically a paragraph. I am trying to recreate what i did a few years ago and cant figure out how i do it

 

any help is appreciated. 

0 Likes
Reply
Accepted solutions (1)
1,153 Views
6 Replies
Replies (6)

chandra.shekar.g
Autodesk Support
Autodesk Support

@AMN3161,

 

By creating a special character for 'breakline'.

 

Create a Custom iProperty and call it 'br' for example. Add a value of 'vbNewLine'. You can do this by creating an iLogic rule and placing this code into it:

 

iProperties.Value("Custom", "br") = vbNewLine

 

 Then you can make a Custom iProperty which you want to show on your drawing and formatting it like this:

 

=LINE1<br>LINE2<br>LINE3

 

If you link this iProperty to a text field in your drawing it will show as 3 seperate lines!


CHANDRA SHEKAR G
Developer Advocate
Autodesk Developer Network



0 Likes

AMN3161
Advocate
Advocate

I know i can easily do it with code but i've done it before without the need for special characters. It works so beautifully in the IDW i attached but i cant figure out how i did it

0 Likes

AMN3161
Advocate
Advocate
Accepted solution

Never mind I figured it out

 

it was a option in the form under "edit control type" and i had to select Multi-line Text Box

0 Likes

bradeneuropeArthur
Mentor
Mentor

Is the text changeable/selectable?

Regards,

Arthur Knoors

Autodesk Affiliations:

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: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 !

0 Likes

bradeneuropeArthur
Mentor
Mentor

Can you show us how you did that, I am curious!?

Regards,

Arthur Knoors

Autodesk Affiliations:

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: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 !

0 Likes

AMN3161
Advocate
Advocate

I feel like this exploits a bug judging by the way the parameter looks but it works

 

I did a bunch of fidgeting around in the video, i always get nervous when i am recording my screen

 

I cant figure out how to link a parameter in a note so i have a custom property do that for me

 

1.) Create a Custom Text iproperty

2.) Create a User Text parameter

3.) Create a form and pull that user parameter over

4.) In the form select that parameter and in the properties look for Behavior, under that you will see Edit Control Type and make it Multi-line Text Box

5.) the make a rule saying that Custom Text iproperty = that User Parameter and set the trigger to be what ever you want

6.) Now you can put a text in the IDW and link that Custom Text iproperty to have a mutli-line text box that can be added through a form.

 

Its very useful for drawing notes