AutoCAD 2010 :: Associate New Attributes With Move Parameter In Existing Block
Apr 11, 2013
I have a block that has been already established. i added another line of attribute. how do i make the new attribute associate with the 'move' parameter that has been set with the old attributes?
All this is created in block editor.
View 2 Replies
ADVERTISEMENT
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
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
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
Mar 12, 2012
I have a dynamic block that I am trying to add some pretty basic functionality to (at least it seems like it should be simple!). Since I’m still relatively new to DB’s, I figured I’d give some background on what I’m trying to do, cause maybe it could be done with a much easier approach than I have come up with. So if you don’t feel like reading the details, see the fourth paragraph for my actual question.
The block is a sheet reference annotation (that shows: SheetNum/TotalNumOfSheets) that we typical put in the notes section of our construction drawings. It looks nice when the text (which are attributes), lines up with the text in the note (usually Mtext, but sometimes a Mleader). So I constantly find myself completing the tedious task of placing the block at the insert point of the Mtext (which is always justified LEFT TOP), and then calculating the distance down to line that I want the block to line up with.
So what I want the block to be able to do is to be able to have the user grab the block by its basepoint, place it at the insert point of the Mtext object, and just enter the text height of the Mtext note, the line space factor, and the target line of the note that the sheet reference block should line up (the input would all be done via custom block properties in the Properties Palette). And since we almost always use a text height of 0.125 and Line Space factor of 1, those will be the defaults, and really the only thing that would need to be entered would be the line number of the Mtext that the annontation should line up with.
I already figured out most of the constraint parameters necessary and calculated the offset equation using custom parameters. I have all the linework moving correctly using the vertical constraint parameters, however, I cannot figure out how to get the Attributes to move along with the linework. I know how to move text and attributes using Action Parameters, but I can’t do it with Constraint Parameters. So I figured that maybe I could chain an Action Parameter to the Constraint Parameter, but I couldn’t figure out how to do this either. Also, I am using visibity states and would like the visibility grip to move along with everything else as well.
My block is attached. I used some lines for the Constraint Parameters to be associated with, but they are only there for the block to operate correctly, therefore they are invisible in both of the visiblity states. Probably not the best way, but it works.
View 5 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
Jun 26, 2012
I'm creating a routine to fill in my terminal strips. This routine worked perfectly in Vba but I'm now rewriting it for .NET...The problem is that I want to insert a block with attributes into different cells.The tables already exists. Below my function, I'm stuck on this part
Dim lonReturnedIds = FunBlockId() ' Calls the function FunBlockID to get the ID's of the attributes
' 0 = BlockID
' 1 = AttributeID of KleurB
' 2 = AttributeID of KleurO
TS.Cells(i, intPosition).Contents.Add()
TS.Cells(i, intPosition).Contents(0).BlockTableRecordId = lonReturnedIds(0)
TS.Cells(i, intPosition).SetBlockAttributeValue(lonReturnedIds(1), strCableConductor2WriteFirst)
Public Function Fun_StripUp(ByVal Po3dXY As Point3d, ByVal str_CableName As String, ByVal Str_CableConductor As String, ByVal strCable Conductor 2 Write As String, ByVal strCableConductor2WriteFirst As String, ByVal intPosition As Integer) As StringDim tAcadDoc As ApplicationServices.Document = ApplicationServices.Application.DocumentManager.MdiActiveDocumentDim myDB As.
[code]...
View 2 Replies
View Related
Mar 15, 2013
Can you add Attributes to a exsiting block without ,exploding it ,and remaking it?
I have made a dynamic window block and forgot to add the attribute annotation I wanted.
Tried to edit the block and add it, but when I save it and reopen the block it does not show.the attribute.
View 1 Replies
View Related
Aug 1, 2013
I have this block (see attachment) with three attributes and a visibility parameter that I want to hide one, two or all attributes. It works well while I'm in the block editor but it will not work properly when used in the drawing. The option of "Point only" does not hide all attributes of some reason.
View 6 Replies
View Related
Jun 1, 2012
I am trying to have my block with different visibility options but i don't want a long list to choose from under one parameter. If I did what I am wanting to in one visibility it would be a very long list of different combination options. The list would have 16 different options. Is there a way to have multiple visibility parameters?
View 2 Replies
View Related
Jan 31, 2012
I have a client border that is attributed, however, when I open the attribute editor, some lines appear in red, while others are black. Turns out the font "FRACTION.SHX" is not on my system. So, I reset one of the problem attributes to a ROMANS. Saved, closed and reopened the drawing and still, the attribute editor displays them in red lettering, as if there is still something not right.
I've attached it. Note that drawing title texts seem fine, but "DRAWN DATE" and a few others are the ones showing up in red..
View 3 Replies
View Related
Jan 7, 2013
I have a block that I'm trying to convert for dynamic use.
In the first image, you'll see the items that I want to have rotatable in blue. The items in red should NOT rotate. That part seems to work fine. But the items that do rotate don't behave as expected.
I created the rotate parameter selecting the center of the red circle as the base point. Shouldn't that cause ALL the items to rotate about that center point?
As you'll see from the second image, the blue line rotates about some other point.
EDIT: Well I guess it only does it if I have the blue horizontal line defined with a length constraint. I also need to have that line dynamic--I need to make it longer/shorter.
I've attached a dwg file with the block in it--it's at the top of the block list (___SectMark2).
View 9 Replies
View Related
Dec 6, 2012
I was wondering if there is a way to link one parameter to another. What i'm doing is creating a theater flat block that has adjustable length and width. There are support members that are needed when it gets big enough. Right now i have them set to a Visability parameter and have to select to turn them on and off in model space. Is there a way to link the Visability so that it changes based on the Linear Distance parameter's lenth?
View 1 Replies
View Related
Apr 11, 2012
I have a ton of blocks with attributes. Sometimes when I insert them, AutoCAD (2011) prompts me in the command line (perfect). Other times, a prompt box appears to insert attribute definitions (annoying).
What setting do I have wrong, or am I setting the blocks up incorrectly?
View 5 Replies
View Related
Apr 20, 2012
Is there a way to associate some existing points with a new alignment so the description in the point label will report the alignment station?
View 1 Replies
View Related
Aug 15, 2013
I have a block (room info) that has five line os text with attributes that display grips which allow them to be moved in whatever drawing I put them in. Within that block there is a little polyline that is the square with a dash through it to represent sq. ft. that I made into a seperate block ( sq ft tick). The room info block part of it works great in all my drawings, but the darn sq ft tick block within the room info block won't budge! I have tried giving it a seperate insertion point and giving that block its own attribute, but no luck.
Is there any way to have a block within a block that has the same ability to move around as the other elements?
View 2 Replies
View Related
Dec 6, 2012
I am wondering if you can set a parameter in a dynamic block in to a visibility layer. Is this possible?
View 1 Replies
View Related
Mar 21, 2013
My company is building a template library, and I want to fill in the .DWG document properties by extracting the information from a the block attributes
For example we need the following document properties (TITLE, SUBJECT, and KEYWORD) to be filled in from the same block attributes (TITLE, SUBJECT, and KEYWORD). The template we have now has this information manually input, but we would like to "automate" it on the .DWG document properties.
How do we do this, use a macro or is there some other way to do this automatically?
View 2 Replies
View Related
Oct 1, 2013
I have a multileader with attributed labels in a block, see included png file. The attributes are indicated by the rectangled text. As you can see the block looks fine, but the leader attaches itself to the insertion point of the block. I want the leader to justify automatically left or right, depending on the drag position of the block. One thing I noticed is that if the block contains an odd number of text lines the leader will automatically self justify. An even number of text line produces what I have here.
View 3 Replies
View Related
Aug 2, 2013
My Quick Properties does not show my block attributes but they shows in Properties Palette. I have edit Quick Properties in my Custom.CUI that overrides ACAD.CUI settings. I'm using AutoCAD 2012.
View 9 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
Jul 19, 2012
way I can link my AutoCAD title block attributes to excel and make changes in either excel or AutoCAD and then be able to run an update? The attributes would be “REV” “DWG_NO” “TITLE” “LOCATION” “DRAWING_SIZE” and “FILE NAME”.
View 4 Replies
View Related
Mar 27, 2012
I have a strange problem with one of our library blocks.
For panel schedules and light fixture schedules, we have DWG block files, and we insert them into our drawings and explode them for editing.
The light fixture schedule loses all of its font attributes when we do this. It looks fine when you insert the block, but once you explode the block all the font information is lost. Interestingly, if you insert the block and go into the block editor, the block editor doesn't show the fonts correctly even though the un-exploded block does show the fonts correctly.
An important detail in all of this is that the panel schedules are just drawings (lines, text, hatches, etc.). The light fixture schedule is a table.
I'll attach some pictures showing what I'm talking about and the DWG block file.
View 3 Replies
View Related
Oct 9, 2012
how to export attribute data from a block to a MS Word document template. I am looking to create a check sheet for a drawing, i.e. open a drawing, click a button and a check sheet will be printed out that the operator can complete and sign. However all the drawing info from the title block would already be complete (extracted from the titleblock block attributes).
View 4 Replies
View Related
Apr 27, 2012
When I first create block or edit a block and add attributes, the attributes will not show up on the block.
I but insert the block again for the attributes to show up.
Is there a way to update blocks with out having to re-insert the block again?
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
Oct 15, 2012
I have a basic floor plan in AutoCAD 2012 that has blocks in specific locations which contain personel data....name, phone, computer tag, desk key numbers, etc. I extracted the data to an Excel spreadsheet and I thought set up a "data link". But I don't know how to make the data update.
My problem...moves of staff, phone, computers are often made, but no one lets me know about it until they want a new floor plan printed and the computer and key tags get so messed up from the moves that it can take me hours to fix.
My goal is to be able to have our secretarial staff update the spreadsheet and in turn update the blocks in my AutoCAD drawing when it is opened and/or "updated".
View 3 Replies
View Related
Jun 16, 2011
I have several existing block definitions and need to change the insertion point. Also, when creating a new block in the Block Editor, how do I define the insertion point?
View 9 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
Feb 7, 2013
I have a co-worker who needs to create a block where the attributes scale with the anno scale, but the block container does not. He's creating a tree block and wants the canopy and trunk attributes to scale without scaling the tree symbol.
Making an attribute annotative and applying the scales to the attributes doesn't seem to work if the block itself isn't annotative.
Are we missing something, or is this just not possible?
View 1 Replies
View Related
Mar 28, 2011
My drawing- block is a little bit complicated, it contains few actions and parameters and everytime i open block editor to add, or to modify some action I can't see my drawing because actions grips and parameters grips obscure my drawing. I tried to refresh layout but it doesn't work.
please take a look on attached jpg.
View 1 Replies
View Related