Is it possible. I have searched and havent had much luck.
I have a block which is a simple rectangle with a height and width attributes that when I edit, change or update the height and width attributes I want the rectangles height and width to change as well.
I know I can go backwardsusing fields and the attributes would show the stretched length and width but is it possible to go the other way? Thanks
I've already seen a bloc somewhat capable of this but haven't had the time to look into it further. Have you found anything since you made your post?
Here's one that we're currently working on. It's a **** cross-section that can practicaly build itself once the values are entered in the properties palette.
This is a work in progress and like has many glitches since we have yet to fully test and master the technique.
It was used with a Block Properties Table and many Parameter Sets.
Again, still learning how to use this so my knowledge about these commands is limited
Let me know what you think,
You can make the dimension changes to the Values of the Parameters with the Properties window and not have to do anything more than that.
Bascially you are changing the Properties of the Block with direct input.
Good point. It would work as I have described it but once again I have not provided all of the information...
I work in the solar industry and everyday I am placing rectangles, which represent solar panels, on roofs of buildings. The dimensions of the rectangles are known. What is not known is the dimensions of the rectangles on sloped roofs as seen in plan view. So, what I end up doing is taking the length of the solar panel rotating it to match the sloped roof and re-drawing the squashed rectangle to be an accurate view of the panel in plan view.
What I was hoping to be able to do is to include a trig formula in the dynamic block which takes the length value and the roof slope and re-calculates what the horizontal length would be in plan view. See attached drawing. It's still a work in progress.
In the attachment, the block called "dynaModule", has a few attributes. The ones that are important are the length, width and tilt. The length and width attributes currently reference the dimensions of the rectangle.
Basically this should go in reverse, with the dimensions of the rectangle referencing the length and width attributes. Somewhere in the operation I would place the bit of trig which would include the tilt attribute.
The formula to include would be : true length x (cos of tilt) = plan view length
Units would be degrees not radians
Let me see if I can write myself thru this:
1. Create an Attrib that is the Slope. Default it to whatever (1-12)
2. Edit the Field you have for the Length Attrib, choose Objects, then Formula
3. In the Formula area right click and choose Insert Field (nice one, eh?)
4. Choose Object and then choose the Slope Attrib.
5. Grab the Value from the Property column and hit OK. (The number of the Slope default should be in Formula area now)
6. Write your formula with that Value in it and this should drive your Length on Slope.
Too late to edit previous comment:
I did not see that Tilt Attrib you have in there. That would be the one to choose for the formula.
Get that done and we may be able to get the Orientation to be driven by the rotation assuming Portrait or Landscape(Ledger).