AutoCAD VB :: 3 Attributes With Same Dynamic Block
May 10, 2011
I have 3 attribute in one block , i made 3 options for visibilty1
so i need in visibilty (1) i can show only the text 11
and i need in visibilty (2) i can show only the text 22
and i need in visibilty (3) i can show only the text 33
View 8 Replies
ADVERTISEMENT
Dec 19, 2011
I made a dynamic block with attributes. The block was to be moved using Linear parameter + move action, and then a lookup parameter and action.
The block moves as it is suppose to but the attributes are left behind. How can I get the attributes to move with the dynamic block?
The attribute properties are:
Verify = Yes.
Lock position: Yes or No don't seem to make a difference.
Is this a bug in AutoCAD or is there a solution to this?
View 3 Replies
View Related
Oct 31, 2013
I would like to change sub block from a visibility after setting it. Here an example of code to get the right visibility, I don't really know how to update a sub block by name or by handle(seems to change inside dynamic block).
Dim Block As AcadBlock
Dim BlockRef As AcadBlockReference
Dim DynEntBlock As AcadEntity
Dim DynObjRefH As IAcadBlockReference
[Code]........
View 9 Replies
View Related
Apr 26, 2007
I have dynamic block with visibility states and Lookups. I tried to add attribute (field with block reference property) which suppose to be updated according to Lookup. But it didn't happen Attribute still the same as first lookup props, but if I insert the block(pic1) and select another properties from the list (pic2-3), when open and close the block editor(4) - everything is ok. Is it possible to solve this problem?
View 9 Replies
View Related
Jul 14, 2013
I am trying to make a dynamic block with the rotate function and I am having no luck. I have the attributes locked.
When moving the rotate grip the angle changes but the text does not rotate.
View 2 Replies
View Related
Oct 17, 2012
I want to rotate my block so that the attribute rotates with it but stays the correct way around so it is still readable and no upside down text. So far I can only rotate the block but the attribute won't rotate with it at all.
Is there a step I have missed out?
View 2 Replies
View Related
Jan 13, 2014
I am trying to make a block with text inside in it. I need the text to rotate at 0 no matter what degree I insert the block into my drawing. For example the type of blocks I use are for fire alarm in which need to go onto different sides of the walls so I need a base point in which I can insert the block at but the text to always rotate back at 0.
View 2 Replies
View Related
Sep 10, 2012
Dynamic block. The visibility states are not working properly and always show the attributes.
View 1 Replies
View Related
Aug 31, 2011
I have a Block (elevation of a typ. door) that has attributes on it, Door Number and Room Name. The door needs to be hatched so I put an associative hatch in, which works fine in block editor. When I type different names and numbers the hatch boundaries resize accordingly.
My problem is when I close block editor and reinsert the block (or ATTSYNC) and edit the names and numbers, the hatch does not resize the boundaries of the new text.
View 2 Replies
View Related
Nov 18, 2013
I'm trying to get a dynamic block to rotate the attached attributes from a left justification in the vertical position to a center justification in the horizontal position. I managed to do this with 2 Visibility States, but anyway to do this with only the one set of attributes. I'm using AutoCAD 2012.
View 2 Replies
View Related
May 3, 2011
Having issues with multi line attributes in dynamic blocks. On the odd occasion I get the attribute moved for example i use multi line attribute for title block information and sometimes it moves where i don't want it .
View 0 Replies
View Related
Apr 19, 2013
I am trying to create a dynamic block that represents a cable with an attribute attached. The block is essentially a line that runs along the Y axis. I have created a distance parameter with a stretch action attached. The line is to remain anchored at the top and the bottom end is permitted to stretch.
Problem: I have an attribute inserted to the left side of the line (offset at -2mm TC insertion) at a rotation angle of 270. When I select the stretch grip (in the drawing environment) I would like the attribute to remain centered with the line maintain the offset and maintaining the rotation angle. I have exhausted all of my options (limited experience).
View 5 Replies
View Related
Dec 6, 2013
In the past I have not managed to get attributes to constantly behave themselves if I applied a visibility state to them. Following posts by steven-g where he has a method to get them working together I thought I would give it another try. His method was used to link the attributes to a further reference attribute to reveal a field but mine is far simpler, just requiring one of two numbers to appear depending on the project state.
I had two attributes which toggled their visibility but only the primary attribute would display UNTIL AFTER I locked and prest the attributes, wherein it all looks to be working as wanted.
So my question is, why does it now work (and will it continue to do so)?
I don't know if I could get away with only one of those actions but since I had something working I didn't want to break it. I will test it once these drawings have cleared my desk.
View 3 Replies
View Related
Aug 31, 2012
I have a couple of attributes suing fields within a block. But they don't update on opening. I need to do a manual field update to get them updated to the latest values.Tried various combinations of "fieldeval", but this was no good.
View 5 Replies
View Related
Oct 1, 2011
I "work in both worlds" It's somewhat important. (Windows at my "day job", Mac Student Ed for my University teaching.
I have an Annotative Associative block with attributes (TTFs). The Title attribute is multi-line. When the block used in a file that is opened in Windows, obvkously everything is fine. If that same drawing is opened in ACAD Mac, the position of the top attribute shifts and can't be corrected until the block is edited in Windows. (It has to be Windows because ACADmac can't edit associative blocks in this release.)
Process I used (MacBookPro 7,1):
Start ACAD12win (Parallels 7 w/WinXP), used default ACAD.DWT.inserted block "Tag Drawing Title", accepted all attribute value defaults, accepted default annotation scale of 1:1save fileopened file in ACAD12mac (multi-line attribute in wrong position)save fileOpened again in ACAD12win, and multi-line attribute is still in wrong position. Save fileOpened again in ACAD12mac, and multi-line attribute is in a greater incorrect position.
View 3 Replies
View Related
Mar 6, 2013
I have an interior elevation callout block with four arrows, noting the N, S, E, W interior wall elevations. I trick I use to rotate Text while keeping the Text oriented in the upright position is to place a Point Parameter at the center of the text then set the "Chain Actions" to Yes. Then I use the Move Action to tie the text to the Point Parameter. Next step is to use a Rotation Action to select only the Point Parameter, which rotates the Point Parameter and brings the text along with it, keeping the text oriented in the upright reading position always. As an example, think about a viewport tag with a North arrow, and the letter "N" at the arrow tip. When you rotate the arrow, the "N" position rotates with the arrow's point but always is oriented upright.
View 3 Replies
View Related
Oct 16, 2012
I have a group of blocks, when I click the blocks I get the editable attribute pop-up box. I can now enter a text of my liking.
I have now made a dynamic block of these blocks, with a visibility states dropdown. So that only one block is shown at a time and when I need to change it I copy the block and use the dropdown button to select the one I need.
The problem I have is that the when I click the blocks from the dropdown only one of them allows me to use the editable attribute pop up window. The others say 'The selected block has no editable attributes'.
If I can't have multiple blocks with editable attributes in one dynamic block or if I can and have done something wrong.
I've attached the block so you can see what I mean. Single Socket allows editable attributes others wont.
View 1 Replies
View Related
Jun 10, 2013
I suppose it's a bug, and I wonder how can it be fixed:
If you edit attribute settings in a dynamic block, and put:
Constant: yes
Lock position: no
You can't neither change the position in the Model, nor edit text. I suppose that with this two settings selected the way showed above, one should be able to move the attribute in Model space.
View 9 Replies
View Related
Jul 24, 2013
I sent the following message to autodesk:
Issue: Dynamic Block causes crash
Preface: A dynamic block c/w a "flip" parameter and a multiline attribute will crash when the block and attribute is flipped, and the attribute justificatiob modified.
Explanation: When the dynamic block is flipped, the multiline attribute is also flipped causing its justification to switch from "top left" to "top right". When the attribute is edited in the in-place attribute editor to switch the justification back to "top left", it causes AutoCAD to crash.
Workaround: Instead of using the in-place attribute editor (i.e. same as MText editor), the attribute justification is changed by modifying the attribute properties in the "Enhanced Attribute Editor" dialog box - on the "Text Options" tab
View 1 Replies
View Related
May 10, 2012
I want to convert existing lighting blocks with attributes to a new dynamic block. I created a few visibility states but when i insert the block I can't move the attribute text around. I don't have to redefine the attributes within the block editor to make this work. What is the best way to deal with existing blocks with attributes?
View 4 Replies
View Related
Aug 8, 2012
I have searched high and low and still could not find a tutorial to really explain how to create a drawing title with attributes (Detail Number, Sheet Number, Detail Title, Detail Scale). All I find are on creating dynamic block, which I could achieve, but I need one for a block that has (or will have) attributes.
I was able to find a tutorial on attributed door numbers, but it does not work for drawing titles that has attributes. GOAL: I would like to have all my seven drawing titles in one file and to be able to stretch the leg of any selected title to a desired length.
View 9 Replies
View Related
Oct 29, 2008
I have a section marker with some text with it and when i make it a dynamic block and try to say flip it it will only take the circle and line with it and leave the text with attributes.
View 9 Replies
View Related
Aug 28, 2011
I have this Dynamic Block which has a few distance parameters on it and an attribute at beginning of each parameter which are attached to a stretch action. If manually bring the block in. And set a value to attribute and then stretch the it , attribute move along with action. But when I do it pragmatically it doesn't . Basically attribute stays at original location of original block before stretch. What is wrong with my code. Or Shall I do something to Attributes when I change the distance parameters in Program? I don't know .
I have a function which bring the block in and set attribute first and then another call which change the distance . So I don't show the first function which to me works fine . The problem is this part.
For Each myBRP As DynamicBlockReferenceProperty In myBRC
For I = 1 To NumbderOfDistanceParamsinDynBlk
If myBRP.PropertyName = "Distance" & Trim(i.ToString) Then
myBRP.Value = DynDistancevalue(i)
End If
Next
Next
View 7 Replies
View Related
Feb 7, 2011
My office is trying to create dynamic blocks with dynamic attributes. We have the dynamic blocks created. how to create the attributes
View 3 Replies
View Related
Jan 23, 2012
From the attached image you can see what I'm talking about.
(left=original, middle=ROTATE, right=PROPERTIES)
When I rotate blocks using ROTATE command everything is fine, but when I rotate blocks using PROPERTIES my attributes get messed.
I need to rotate several blocks at once with PROPERTIES, because I don't have time to rotate each one separately.
The same thing happens when scaling blocks, but this was resolved using the command BSCALE in the command line.
View 5 Replies
View Related
Jun 5, 2012
So I have created a block witch is a pin out for a device with some attributes. I have created a dynamic block away so that I can have multiple pinouts on a device... how can I work it so that each element of the array has different attributes?
Output1, output2, output3 for example? but when i use the grip to give me another pin it allows me to do output4?
View 0 Replies
View Related
Feb 14, 2013
Is there a way to create a block with attributtes that automatically complete x, y, z, lat, long for the insertion point of the block?
I am trying to complete text in paperspace that will automatically fill in the lat long of a point in model space without using a table. I have tried field insertion with reference to a cogo point, but it doesn't give options for position on a cogo point. If I pick a block with attributes, it will let me pick any attributes, and x,y position for the block.
Cogo points show all the information I need to propagate in the properties....but how do I get that to translate into the text using fields or some other method?
Dell Precision T3600 - Windows 7 64-bit
NVIDIA Quadro 600
Intel(R) Xenon(R) CPU E5-1607 0 @ 3.00GHz 3.00GHz
8 GB ram - Two 1TB raid
View 9 Replies
View Related
Oct 26, 2012
When the block is in a drawing and I click it, it takes me to block editor.
However if I go to it in block editor and test block it allows me to change the attributes.
Why does clicking the block go to block editor and not allow me to change its attributes as it does when I test block.
View 9 Replies
View Related
Apr 8, 2013
I can insert a block with block attributes using the Inter op very easily:
Dim theBlock AsAcadBlockReference
Dim pickScreenVBA = myDoc.Utility.GetPoint(, "insert the hydrant")
theBlock = myDoc.ModelSpace.InsertBlock(pickScreenVBA, "Hydrant", 1.0#, 1.0#, 1.0#, 0)
Dim varAttributes AsObject
varAttributes = theBlock.GetAttributes
varAttributes(0).TextString ="3 Ports"
varAttributes(1).TextString ="Salt water"
Works great, but when I try using the non-inter op, all the example insert new Attributes and not add block with existing attribute (so I end up with duplicate attributes for each block - i.e "Salt water" attribute is added to the block each time I run the code),
Are they any examples that does the same as above using the non-interop code?
View 2 Replies
View Related
Dec 12, 2013
I'm trying to add some attributes to an existing block using the block editor, but after I save and close it I cannot see any 'placeholders' despite adding a default value and the attributes work fine when I double click the block.
I've tried using the ATTSYNC and BATTMAN commands but nothing works and there are no invisibility states applied to either the attribute or block and all layers are switched on.
I just tried making a quick block from scratch and it seems to have the same affect, except the default value will show, but no 'placeholder' shown if left blank.
I swear with previous version I could see the tag when a value hadn't been applied, so is it that the version I now use (2012) does not have this feature or it's disabled?
View 9 Replies
View Related
Sep 20, 2013
1. What is the easiest way to find points that are not constrained? I get a notice that the block is not fully constrained and its a nightmare going through all the lines trying to find where I need to apply a constarinet.( I can't wait to get off ACAD and back to Inventor.)
2. When I try to save a dynamic block using the Save Block icon under Open/Save, if the dynamic block is not fully constrained, and I click save, when I reopen the block to edit all of my constraints are gone, this has happened twice. Now I just exit by Xing out and saving changes.
View 2 Replies
View Related