Jump to content

Dynamically linking Text


keng000

Recommended Posts

Would anyone know how to make text linked between two “Layouts” I’m trying to setup a drawing that uses one Layout for tables. I then want to reference (dynamically link) the data within a Cell to update text on other Layouts?

Can this be done; I’m going prematurely gray on the few hairs I have left.

Thanks, Ken :?

Link to comment
Share on other sites

I am not sure because have not used full version for a while. but if you use attributes for your data, than you can use field in other layout, linked with attributes in previous layout.:huh:

Some one please corrent me If I am wrong.

Link to comment
Share on other sites

 

Dont think it works.

OP is trying to create a link between a value in a table cell to a Text(w/c I think a Field would accomplish) in another layout, Problem is, I cant find an available field expression that targets the value on a specific table cell. I was having the same thoughts as Dipali on using an Attribute as a Cell value but cant find a way to insert an attribute in a table.

I think a specific Field or Diesel could do this with the right code :?

Link to comment
Share on other sites

The idea (link) above works only within the same layout or if contained in the same model. Any other ideas?

 

Targeting between layouts seems to be the major problem.

Link to comment
Share on other sites

Had another thought. Is it possible to embed a variable within a drawing? This way it could be referenced throughout. It would require a method for updating the source.

 

 

Possible Procedure:

1) Text/table with data value

2) Create new drawing Variable or update from #1 above

3) Then I could reference the variable with Field function throughout.

 

So… does anyone know how to create a variable that is isolated to a drawing on the fly?

Link to comment
Share on other sites

Hello all

 

I'll not post any reply until be sure that is correct

 

see attached,

A file has 3 links between model and 2 layouts using the same way

make the change in text

 

and you can copy and past that linked text at other drawing and match proprietaries too

 

May be your AutoCAD has a special setting we don't know

 

 

Hasan

Field.dwg

Link to comment
Share on other sites

It looks like that did the trick. Correct me if needed.

 

This is how it works. Field | Objects | [select object] | Contents [copy formula, paste as text]

 

Detailed procedure:

1. Create text to be referenced in ANY Layout/Model space.

2. Go through the motions of creating a field, referencing the text in step #1. Copy the formula created when selecting the Object, this will retrieve the object's ID.

3. Switch to the desired/target Layout/Model space.

4. Enter the formula as "text".

 

It seems so simple, now that you got it working. :D

 

As a note, it also works with table cells. See below where the desired data is from CELL “B6”. Field | Objects | Formula | Cell [select table cell | copy formula, paste as text]

 

e.g. %%).B6)>%

 

Thanks

Link to comment
Share on other sites

Yes Keng000

 

and there are system variables are useful for dealing with the field

 

- fieldeval

Controls how fields are updated. The setting is stored as a bitcode using the sum of the following values:

Controls how fields are updated.

0 Not updated

1 Updated on open

2 Updated on save

4 Updated on plot

8 Updated on use of ETRANSMIT

16 Updated on regeneration

 

 

- FIELDDISPLAY

Controls whether fields are displayed with a gray background. The background is not plotted.

 

0 Fields are displayed with no background

1 Fields are displayed with a gray background

 

Find attached a several sample for field

 

Hasan Asos

Field02.dwg

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...