Increasing Parts description character limit or a workaround (127)

Increasing Parts description character limit or a workaround (127)

moua.thao
Enthusiast Enthusiast
1,231 Views
5 Replies
Message 1 of 6

Increasing Parts description character limit or a workaround (127)

moua.thao
Enthusiast
Enthusiast

Hi everyone,

I was curious if there was a way to increase the iproperties description character limit of 127.  In some searches I found, users mentioned either using the comments section instead or using ilogic to do so.  Another suggestion was third party software (I'd wish to avoid if possible).

 

Thanks much for any feedback.

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

Cadmanto
Mentor
Mentor

Why don't we start with you giving us some feedback on why you need 127 characters in a description?

I have 3 lines in my title block that give me a total of 81 characters.  On a normal day, I will be lucky to use half of those.

 


Windows 10 x64 -16GB Ram
Intel i7-6700 @ 3.41ghz
nVidia GTS 250 - 1 GB
Inventor Pro 2018

 

 

Best Regards,
Scott McFadden
(Colossians 3:23-25)


0 Likes
Message 3 of 6

mcgyvr
Consultant
Consultant

The limit is likely fixed..

As you hinted at you could use multiple fields (custom iprops or any other unused fields) setup to essentially be your "Description Part 1" and Description Part 2" or whatever as needed..

You could have some automation (ilogic) to prompt you to fill them out or concatenate from other fields or whatever you need.

But increasing a single field limit is unlikely to be possible.. 

 

I agree that needing more is a weird request.. My ERP system doesn't accept anywhere near that many characters for a parts description.. 



-------------------------------------------------------------------------------------------
Inventor 2023 - Dell Precision 5570

Did you find this reply helpful ? If so please use the Accept Solution button below.
Maybe buy me a beer through Venmo @mcgyvr1269
0 Likes
Message 4 of 6

llorden4
Collaborator
Collaborator
Accepted solution

I have found success with iLogic to skip past this limitation, at least with custom iProperties that might work for you, I've had success with storage & retrieval of strings containing over 350 characters, so worthy of trying out on your issue.

 

iProperties.Value("Project", "Description") = "[127+ characters]"

Surprisingly, I haven't had any negative results from this operation that I've discovered as I would have expected some memory leakage or other data loss to occur from this run-over; but nothing yet.

 

Hope this helps.

Autodesk Inventor Certified Professional
Message 5 of 6

moua.thao
Enthusiast
Enthusiast

Would anyone know a fast way to translate the special characters into ilogic?  My descriptions often contain ", (), : etc...

It's kind of a pain to have to do a find and search replace for each special character.

 

ps, thanks for the solution @llorden4 !

0 Likes
Message 6 of 6

llorden4
Collaborator
Collaborator

I do this quite a bit myself with self-generating part descriptions using iLogic.  The trick is to concatenate your text together and the command syntax can get you if you're not familiar with it.  If you have a carriage return, you can't have anything interrupting the concatenation, not even a remarked line.  Use the "&" symbol as the concatenate (join) command.  For example:

 

This works:

iProperties.Value("Project", "Description") = "My(Part)Is " &
Length & 'Length is a variable somewhere
chr(34) &
"long"

and would produce a result of:      My(PartIs) 12" long.

 

However this wouldn't work:

iProperties.Value("Project", "Description") = "MyPartIs " &

'Length is a variable somewhere
Length &
chr(34) &
"long"

 

The remarked line "   'Length is a variable somewhere   "  interrupts the sequence as it's on a new line, but works just fine at the end of a line.

 

Placing your special characters within the quotes or using the chr(?) feature works just great.

 

Good luck!

 

Autodesk Inventor Certified Professional