Use Field Text in DWG in Forms Help

Use Field Text in DWG in Forms Help

DeerSpotter
Collaborator Collaborator
652 Views
10 Replies
Message 1 of 11

Use Field Text in DWG in Forms Help

DeerSpotter
Collaborator
Collaborator

I'm using Inventor 2014.

 

I would really like a possibility to use Field Text within forms, I am open however to Ilogic.

 

Is it possible to send Field text to custom properties?

 

Ex:

<FIRST PROJ>

CLASS

<REF DWG>

 

I am aware that these values are not universal or [DEFAULT] but is it possible to push them or populate a new custom property which i can modify that would then if changed in a form it would populate field text?

 

Step 1

Ilogic, pushes to custom property.

 

fill in form.

 

run step 2

pushes custom values back to field text.

 

(instead of using forms, i am open to using txt boxes too)

 

In Reality i would rather just assign field text in form and be done with it, but it's not that easy as far as i know. Thank you for your consideration in this matter. I'm not asking for you to code the whole thing for me, just any code snippets would be enough for me to work off thanks!

 

Max

Image and video hosting by TinyPic
..........................................................................................................................
Did you find this reply helpful ? If so please use the Accept as Solution or Kudos button below.
..........................................................................................................................


See My LinkedIn Profile
0 Likes
653 Views
10 Replies
Replies (10)
Message 2 of 11

adam.nagy
Autodesk Support
Autodesk Support

Hi,

 

I'm not sure what exactly you need. Are you talking about Prompted Entry values or Property values?

 

The best thing would be if you could provide a very basic, non-confidential drawing and then let us know what exact value inside it you'd like to get back programmatically.

 

Cheers



Adam Nagy
Autodesk Platform Services
Message 3 of 11

DeerSpotter
Collaborator
Collaborator

Field Text.JPG

Image and video hosting by TinyPic
..........................................................................................................................
Did you find this reply helpful ? If so please use the Accept as Solution or Kudos button below.
..........................................................................................................................


See My LinkedIn Profile
0 Likes
Message 4 of 11

DeerSpotter
Collaborator
Collaborator

Bumpidy Bump

Image and video hosting by TinyPic
..........................................................................................................................
Did you find this reply helpful ? If so please use the Accept as Solution or Kudos button below.
..........................................................................................................................


See My LinkedIn Profile
0 Likes
Message 5 of 11

adam.nagy
Autodesk Support
Autodesk Support

Not sure what your last comment means 🙂 but there are some blog posts on setting a prompted entry to a given value, e.g.: http://adndevblog.typepad.com/manufacturing/2013/09/put-a-drawing-view-name-to-prompted-entry-symbol...

 

I hope this helps.

 

Cheers, 



Adam Nagy
Autodesk Platform Services
0 Likes
Message 6 of 11

DeerSpotter
Collaborator
Collaborator

I'll look it over, it seems to be focused on sketched symbols. But ill see if i can take to code apart and make it do what i want. 

Image and video hosting by TinyPic
..........................................................................................................................
Did you find this reply helpful ? If so please use the Accept as Solution or Kudos button below.
..........................................................................................................................


See My LinkedIn Profile
0 Likes
Message 7 of 11

mrattray
Advisor
Advisor
Is there a reason you have to use field text? Why not just create custom iProperties within the drawing file? This way you can add the iProperties directly to your form.
Mike (not Matt) Rattray

Message 8 of 11

DeerSpotter
Collaborator
Collaborator

I would love to do that, but arguing with someone who created this template and used it for 5 years isn't a smart career move. 

 

Image and video hosting by TinyPic
..........................................................................................................................
Did you find this reply helpful ? If so please use the Accept as Solution or Kudos button below.
..........................................................................................................................


See My LinkedIn Profile
0 Likes
Message 9 of 11

mrattray
Advisor
Advisor
I don't follow your logic. If what you're doing is an improvement over the old way, then what rational person would be opposed to the change?
Mike (not Matt) Rattray

0 Likes
Message 10 of 11

DeerSpotter
Collaborator
Collaborator

I have in the past 3 companies that i worked for, keep seeing these field text setting(s) being used... Its so annoying. Big corporations use ilogic to complete crazy stuff but yet still stick with field text. They may have their reasons your right too; maybe they just didnt improve for such a while. 


I'll consider your request and make a new template to show off. 

Hopefully that will be good enough 😕

 

But im still stuck on the aspect that there is noway to control those fields through ilogic. I guess the stubborn part of me wants to figure it out.

 

Thanks!

Max

Image and video hosting by TinyPic
..........................................................................................................................
Did you find this reply helpful ? If so please use the Accept as Solution or Kudos button below.
..........................................................................................................................


See My LinkedIn Profile
0 Likes
Message 11 of 11

mrattray
Advisor
Advisor
It's not that there is no way to do it with field text, I've done it. It's just that it is WAY more effort than it is worth, especially when there is an easier and, more importantly, better way.
The only disadvantage to using drawing properties is it wont work with multi-sheet drawings, but if your company doesn't produce these then there is no problem and it stands as the best method on all measures.
Mike (not Matt) Rattray

0 Likes