CAD Forums > Dynamic Blocks

How inserting user-defined parameter in Dynamic Block as field attribute works?

<< < (2/3) > >>

Daniel J. Ellis:
Oooh, I didn't know that!

So do you have Friday/Saturday off work and work Sunday-Thursday?

dJE


--- Quote from: ahankhah on February 25, 2021, 04:32:31 PM ---
--- Quote from: Daniel J. Ellis on February 25, 2021, 05:02:32 AM ---I think you'll find it easier to use a piece of text with a field value than with an attribute (I say this from my own experience).

If you want to post your WIP block I'm sure I or someone else will be able to take a look for you.

dJE

--- End quote ---

Daniel, thank you for your reply. I will send the file as soon as possible, when I am at work. (In my country, Iran Friday is weekend.)

--- End quote ---

ahankhah:

--- Quote from: Daniel J. Ellis on February 25, 2021, 04:56:20 PM ---Oooh, I didn't know that!

So do you have Friday/Saturday off work and work Sunday-Thursday?

dJE

--- End quote ---

No, Thurseday and Friday are off days.

ahankhah:

--- Quote from: Daniel J. Ellis on February 25, 2021, 05:02:32 AM ---I think you'll find it easier to use a piece of text with a field value than with an attribute (I say this from my own experience).

If you want to post your WIP block I'm sure I or someone else will be able to take a look for you.

dJE

--- End quote ---
Daniel, I did your mentioned instructions, but the text shows the word "UserVariable" instead of the real value of the selected attribute.

I will send a sample of my all unsuccessful efforts in another post.

ahankhah:

--- Quote from: Daniel J. Ellis on February 25, 2021, 05:02:32 AM ---I think you'll find it easier to use a piece of text with a field value than with an attribute (I say this from my own experience).

If you want to post your WIP block I'm sure I or someone else will be able to take a look for you.

dJE

--- End quote ---
One more comment...

When inserting TEXT or MTEXT, there is no any way to insert (or refer to) variables defined within the block, it is just possible in ATTDEF.

ahankhah:

--- Quote from: tombu on February 25, 2021, 10:30:34 AM ---It should work if it was created in that drawing.

If an object and a text or attribute with a field referencing it were inserted into another drawing the field's link would be broken since the object and it's ID would be different in the new drawing.

If you were to make multiple copies of an object with a field referencing it all the fields would reference the original object and it that object was deleted it would break the reference to all the copied fields.

--- End quote ---
tombu, thank you for info, but I just now defined a new bare block, with not any success...

I will send the block in other post.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version