I was looking to schedule the insert location and rotation of a MV Block, It has a location properties for x,y,z and rotation in the palette but that is not seen in the available MV Block properties when creating a property set. Have tried the Block and MInsert rotation properties (both have them) but they do not report the MV Block.
Only workaround is to explode to blocks, but the plan block does not have the same name as the MV Block so that breaks another part of a process!
Anyone else tried this, found another answer?
Solved! Go to Solution.
Solved by David_W_Koch. Go to Solution.
Seems like an oversight, to me; rotation should definitely have been an Automatic Property for Multi-View Block References. I doubt they will add it now. Fortunately, you can use a formula property to grab the value from the object's data. In the example below, I converted the raw value, in radians, to degrees, because I have never been able to wrap my head around radians, particularly when expressed in decimal format. If radians suit your use, you could leave out the first line (where pi is defined, to an unreasonable number of decimal places) and then drop multiplying the value obtained from the object by 180 and dividing by pi.
pi = 3.141592653589793238462643383 Set acadApp = GetObject(,"AutoCAD.Application") Set mvbObj = acadApp.ActiveDocument.ObjectIDToObject( [ObjectID] ) RESULT = CDbl(mvbObj.Rotation * 180.0 / pi)
You will need to include an instance of the ObjectID automatic property in your Property Set Definition, and make [ObjectID] a reference to that property. I have also attached a sample file with the above in use; pardon the imperial units (which have no impact on the Rotation property). The file is in AutoCAD 2018 file format.
Awesome and thank you!
I suppose not having needed this, using the app since 2001'ish, indicates it is rather niche!
Thanks David!
https://rcd.typepad.com/rcd/2019/09/the-power-of-community-and-connection.html
hi david,
the answer is little bit old but I have similar problem.
in Autocad Architecture I have
room name,
room number
and room size in one mv block.
when I rotate layout 180° room name, number and size is no more horzintal, stays on head. Is there a way to solve this? I want, mv block should stay horizontal if I rotate the Layout.
How everyone have the "Rotate" option for MV-Block?
here my version:
here your file Mr.@David_W_Koch
Looks like you opened my file, selected one of the chairs and changed it to a Room Tag Multi-View Block. That tag is not anchored to a Space. I suspect that in your file, the Room Tag Multi-View Block is anchored to a Space. That is the difference.
ACA treats the unanchored tag as an ordinary Multi-View Block, and will show a rotation property on the Design tab of the Properties palette. A tag-anchored Multi-View Block (constrained or unconstrained) will not show a rotation property directly on the Design tab, presumably on assumption that you will want an annotative tag to be "right reading" and not rotated at some odd angle (unless, of course, you constrain the tag to the object and opt to also constrain the rotation of the tag to the object).
You can rotate an anchored tag, if you want - just select the Anchor worksheet under BASIC > Location on entity and enter the desired value in the Angle edit box in the Rotation area at the middle-right of the Location dialog. A little more difficult to get to, but I believe that is by design.