Geometry Converted Text Not Updating and Not Visible In Drawing

Geometry Converted Text Not Updating and Not Visible In Drawing

ahkliban
Contributor Contributor
373 Views
4 Replies
Message 1 of 5

Geometry Converted Text Not Updating and Not Visible In Drawing

ahkliban
Contributor
Contributor

Hi

 

I have this iLogic rule that makes it possible to insert partnumber and revision number in a text box via user parameter.

When I change the revision number in iProperties, it automaticaly changes in the text field.

To get the partnumber and revision number as a single line in dxf file, I convert the text to geometry.

 

Now I have 2 problems.

 

1- Changing the revision number in iProperties doesnt change the text that has been converted to geometry.

 - Is it possible to make the geometry converted text to be adaptive so it changes according to revision and partnumber? If so, how do achieve that?

 

2- The text thats converted to geometry is not visible when I create a drawing.

 - Is it possible to make the geometry converted text visible in drawings? If so, how do I achieve that?

 

0 Likes
374 Views
4 Replies
Replies (4)
Message 2 of 5

nedeljko.sovljanski
Advocate
Advocate

Hi @ahkliban 

It seems your question should be in Inventor iLogic, macro forum, and also please attach your iLogic for review.

Message 3 of 5

A.Acheson
Mentor
Mentor

Please attach a simple part file for testing  it doesn't have to be your part just something that displays the text your using and the rule with triggers etc setup. The moderator can move this over if it is an ilogic issue. 

If this solved a problem, please click (accept) as solution.‌‌‌‌
Or if this helped you, please, click (like)‌‌
Regards
Alan
0 Likes
Message 4 of 5

Gabriel_Watson
Mentor
Mentor

1- Make sure you write the following by the end of your iLogic code to update your file after editing the properties, to execute any changes throughout all the features relying on the iProperty:

iLogicVb.UpdateWhenDone = True

 

2- Use the text to EMBOSS it to your geometry (assuming here that it's a sheet metal part). You are saying you have "geometry" made out of the text but you never mentioned which type of geometry and how you are creating it. So my guess is better than nothing.

0 Likes
Message 5 of 5

robertast
Collaborator
Collaborator

1, After converting the text to geometry, it is impossible to change it using the parameters in my opinion. It's not text, it's geometry. Using the API, you can delete it and write a new text and then convert it to geometry.

2, You can output the converted text to the drawing - watch the video.