Does anyone have a way to use the detailscale field in a block?
I am unable to put the detailscale field in text unless I specify a detail view. I would like to have a block I can drop on a layout and link to a detail view at that time.
Does anyone have a way to use the detailscale field in a block?
I am unable to put the detailscale field in text unless I specify a detail view. I would like to have a block I can drop on a layout and link to a detail view at that time.
Hi -
You can set the field to look for a named detail. Then just make sure to name the detail that you want to get the scale from.
-wim
How is that done?
Hi /
It’s somewhat involved…
Text
and hit the fx
button, then pick DetailScale
Use detail attribute name
optionThat will give you this text field:
%<DetailScale(“”,“1:#”)>%
Here, you can fill in a name between the two first quotation marks. Alternatively, name the detail before creating the text field.
%<DetailScale(“PRIMARY”,“1:#”)>%
-wim
Thanks,
Is there any way to put DetailScale in a block and have Rhino prompt for the detail when the block is placed?
On the mac at least, Detail Scale will not go into the text unless you specify a block. It does not appear to insert otherwise. You can edit after insertion.
Hi -
Partly. It will prompt you for both the text field and the detail. It’s on the list to make that smarter at some point.
ConvertTextToBlockAttribute
Key
name and, optionally, a Default value
with a reminder tip on what to do
Prompt
, that will show instead of the key when inserting the blockDefault value
reminds me which text field to pick and / or which object this applies toYou will be asked to fill in the block attribute value but you can click fx
to get into the regular text field dialog where you select DetailScale
and select the detail.
%<UserText(“block”, “DetailScale”, “”, “Click fx, then DetailScale and select the detail”)>%
… will prompt the following when you define the block and when you later place an instance:
I’m afraid I don’t understand what that means.
-wim
Thanks,
I presume that I am supposed to get something like this:
%<DetailScale("%<UserText(“block”, “Detail”, “Detail”,"")>%",“1:#”)>%
but that particular example does not work. Does the DetailScale go into the UserText or the UserText in the DetailScale? What needs to be quoted?
Hi -
Like I said, this only works partly and looking into a smarter way of doing that is on the list.
You can’t currently pre-define a text field and need to select that, and the object, when the block is placed.
The only thing that currently works is this:
%<UserText(“block”, “Key”, “Hi there”, “Remember to jump through the correct loops”)>%
-wim