AutoCAD .NET :: Determine Size Of (non-dynamic Non-annotative) Block Definition?
Mar 24, 2013
I want to determine the size of a (non-dynamic non-annotative) block definition (BlockTableRecord). Does a block have a boundry or limits? For example, if the block would contain a simple square, the size of the block would be equal to the size of the square.
I have attached the block for reference. Now that I have found the error of my way with the annotative cutline. I have a slab-on-grade block that needs to have annotative hatches; I also need the cutline to be annotative and dynamic so that as the drawing scale changes the scale of the cutline will be match and I can adjust the length of the extension lines. I have made the cutline a nested annotative and dynamic block within the slab-on-grade block. When I insert the block into my drawing the cutline is annotative and the dynamic grips show up but they do not work.
I'm having trouble getting my attribute definitions to work with my blocks.
I'm trying to create a tag that can flip around (dynamic) and have a tag number easily entered (attribute).
I notice that I could only get the attribute definition to work during a drawing insertion is when I wblocked out my block and inserted that drawing file. I was not able to insert the drawing file that had the block in it.
I can't seem to make a dynamic block drawing file, and then insert that dynamic block drawing file if I want the attribute to work..
I have a drawing with a dynamic annotative block. I want to export that block to another (new) drawing (similar as AutoCAD's wblock command). But whatever I try, I never get the block as a drawing, but always end up with a drawing containing the block.
I have a dynamic block that I created with a bunch of visibility, rotate and stretch parameters and actions. When I created said block, I meant to make it annotative but forgot about it during the initial block definition. Is there a way that I can make the block annotative now, or do I have to go back and re make the block all over again?
I'm setting up CAD standards for my office (title blocks, tool palletes, dynamic blocks, you know the drill). This should have been done long ago by another employee who makes more money than me, but that is beside the point. (Maybe you know the drill on that front too...)
This is a granite counter top fabrication shop, and I've created a dynamic block containing all the edging profiles we are producing at the moment. Contained in the block are "3D" versions of each profile, both with and without dimensions (for annotation purposes), and a 2D closed polyline showing only the "section" of the profile, to be exploded from the block and used as an extrusion shape when 3D drawings of the finished look of a countertop are necessary.
The issue I'm having is with scaling/annotative scaling. I have created a custom tool pallete with this edge profile block and a couple other dynamic "mark-up" blocks. (See Layout1 in the attached drawing.) What I need is for this edge profile block to insert into model space at "actual size" (3/4" thick), so when it is exploded and extruded, I'm creating that 3D edge at the proper proportion in my drawing. But for annotative purposes, I want to be able to insert the block at a different scale in paperspace (roughly at the size it is shown in the attached drawing).
I'm fairly new to using annotative objects, and I am having a lot of trouble with blocks and annotative multileaders.
I made a custom block (_ValveCallout) to be used in an annotative multileader, which was working perfectly, until I needed to edit the block I was using in the multileader. After I redefined the block, the attributes in the block seem to be displayed at the wrong scale, and the border around them isn't even showing at all. I have to redraw every multileader if I have to make a change to the block.
I have tried to make a dynamic block using annotative objects, text leaders, etc. The block was created initially as annotative but later somehow after going over it in the block editor. It has lost it's annotative properties. Is there a way to make a dynamic block that is not annotative, make it annotative. this block has only visibility features.
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.
I created the attached block to add spot elevations to a drawing. The block has attributes allowing elevations to be manually typed in, but also includes many dynamic features for rotation, lengthening, mirroring, etc. The block was created as an annotative block.
The block and all of its features work perfect as long as the dynamic features (rotation, etc) are not used after additional annotative scales are added. I often times have a drawing set at 1:10 or 1:20 scale and need to do an enlarged detail at 1:5.
What I would like to do is have this block set at 1:10 scale and 1:5 scale and manually rotate it (ideally using the dynamic features) at different angles for each scale. Is this possible and if so, why is it not working with this block? This works flawlessly when using annotative multileaders, so why shouldn't it work with blocks or is this just too labor intensive for the software?
I have also tried attsync, etc. and often times when rotating at different annotative scales, the text attributes go "bonkers" for the opposing scale when applying attsync.
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?
Is there any trick that bring in an annotative block into a drawing at the annotative scale you are working in, not the scale the block was created in?
I've developed a dynamic block for a standard bulb flat profile cross section using parametric constraints to alter the sizes of the profile. I also made six visibility states for altering the penetration type of the profile through a construction element. It works like a charm on smaller drawings, but on a typical master sectional drawing the file size increases up to 20 or so MB given to the fact that there are over 4000 copies of the block in the one drawing (the dyn block itself is around 100 KB). This makes the drawing almost impossible to work with as you may well imagine. I uploaded the block if you want to take a look at it.
Maybe I'm missing something here because I have searched online for similar problems and found very little occurrences of the same. I tried auditing, -purging, wblock to another file, everything I could find or think of nothing seems to work. Is it just the way it is with files containing so many dynamic blocks or is there a way to make it work.
In most cases this works well. However I found a case that it not work as well. When I try to change the definition from a new block that I have created in my test DWG, it disappears from the model.
I have a block: “Block_A”. I am trying to determine if a block reference of the block exist.
Currently I would iterate every block Reference in the Block Table, and then dig deep into each block ref . . . . .
I was wondering if I could just take “Block_A” and see if it has reference and where the references are. Perhaps this is just wishful thinking but I was hoping for a faster way to obtain the references then to iterate thousands of blocks in each table record.
I have more of a geometry question, rather than CAD question. I need to determine the size of a spar hole for an airplane wing. The wing will be cut out of foam with a hot wire. There is a round spar hole in the wing that runs from the root to the tip on each wing half. A carbon fiber rod goes through it. Seems easy, but the wing is swept back 35 degrees, so round hole will actually be an ellipse is when it exits the root and tip. The hole needs to be 5mm. The ellipse will be 5mm tall, but how do I figure out how wide?
I'd like to know if it is possible, with the .NET API provided in AutoCAD 2009, to define dynamic blocks (dynamic properties and actions) completely from .NET code (VB.NET or C#).
Any way to get a scale bar/title block text to reflect plotting at half size?
We use the common (24x36) sheet size for all projects, but when plotting we send out half size (12x18) as well. This means the scale bar reading 1"=40' is no longer correct. It should read 1"=20'. I would like to automate this.
I have a dwg with 40 blocks that have a non-annotative property. I can go through 1 by 1 and change the property to annotative and redefine the block. Is it possible to automate this? I have done some google searches but have not found anything I am able to cut and paste or put together to get it to work.
Civil 3D 2012 SP4.0 Windows 7 Enterprise 64-bit C3D 2014 SP1 Dell M6600, Core i7 @ 2.3GHz, 16 GB ram Dell T3500 workstation, too much ram to post
I've made annotative blocks and I've made dynamic blocks... My intent is to integrate both but I can't find a way to move dynamic block parameters separately at different annotative scales.
In other words, if I insert an annotative dimension and add multiple scales I can move the dimension grips independently at each scale. If I insert a dynamic block I want to be able to use the dynamic block's action "grips" to do the same. However, with a dynamic block, if I move a stretch action at one annotation scale it moves the action at all annotation scales.
I have a question regarding parameters in a block definition, or more specifically how to constrain parameters. I have attached a PDF showing exactly what I am working on. Basically I have an arm for a monitor which I need to add some parameters to. I need to be able to have a point that I can grab where the "primary grab" is located, and when I grab that I need the arm to pivot at the indicated pivot point, but be restrained by the first arm that is constrained to the circle. Is this possible to do in AutoCAD?
Is there any way not to show a particular block in block definition table ? My program bring a block into drawing thru a user form . And set some Xdata to it after insertion . If user bring the block manually into drawing then how would we know which one has xdata and which one doesn't. I came to this solution to hide it in block definition list.
how I can get VBA to insert/redefine a block reference from another file into a block (of the same name) that already exists in the target drawing?
I've tried using the insertblock method but it produces a 'filer error' - As a bonus point, it'd would also be good to be able to retrieve the contents of the blocks collection in the source drawing in some clever way other than opening it (a bit like browsing using the design centre) ?
ACad, MEP, 3DS Max Windows 7x64 X5482 @3.2Ghz 8Gb Ram Quadro FX1700
I need to remove lines from a block definition and replace them with LWpolyLines. I see there is a way to Append entities to a BlockTAbleRecord but I don't see a way of removing an entity.
I am wondering what Block Authoring actions i can use to move my Attribute Definitions up and down in a Dynamic Block. I understand duplication the definitions can get really ugly.
So i want to be able to have a second visibility tab in my block the nwhen i select it my Attribute Definitons insertion point moves to another co-ordinate with in the block.
How to do this so it doesn't ask for a block definition!
I have an extruded region of 50 x 50 (SHS) that I want to put a 45 degree mitre on, so I orientate my UCS to ortho, I have a reference line drawn over the job for my 45 degree/3 points to pick...
I Select 'both' to keep and it asks me for a block definition?
I have a large symbols library and need to have 1 block name and count but be able to show them in different colours depending on where they are placed. (eg pink block at low level and green at high level, but when counted by block name it counts 2 not 1 green 1 pink).
When I worked for my previous firm, they had a library full or blocks that would change scale by picking from a small pull down menu on the block itself. I could automatically change a section of a 4" CMU to an 8" CMU just by picking from the options. I am trying to create some of those now. Are those dynamic or annotative blocks. What is the parameter I would use.