JimRice
29.12.2009, 22:03
We have some dynamic blocks that have block parameters (Blockheight, Blockwidth, Cut). I trying to get block text to change when the blocks have been stretched to react as shown below. I think I need to use Diesel to do this.
If BlockParameter"Cut" = "N" then widthtext = BlockWidth -.006
If BlockParameter"Cut" = "L" then widthtext = BlockWidth -.003
If BlockParameter"Cut" = "R" then widthtext = BlockWidth -.003
When I enter $(%<\AcObjProp.16.2 Object(?BlockRefId).Parameter(2).UpdatedDistance \f "%lu2%pr2">%) in the diesel expression I get $(58.25)?? back when all I want is 58.25. How do I get rid of the $( and the )??. Also, do Diesel expressions update when the blocks stretch. My BlockPlaceholder number do update but my Diesel expressions don't.
If BlockParameter"Cut" = "N" then widthtext = BlockWidth -.006
If BlockParameter"Cut" = "L" then widthtext = BlockWidth -.003
If BlockParameter"Cut" = "R" then widthtext = BlockWidth -.003
When I enter $(%<\AcObjProp.16.2 Object(?BlockRefId).Parameter(2).UpdatedDistance \f "%lu2%pr2">%) in the diesel expression I get $(58.25)?? back when all I want is 58.25. How do I get rid of the $( and the )??. Also, do Diesel expressions update when the blocks stretch. My BlockPlaceholder number do update but my Diesel expressions don't.