AutoCAD .NET :: DeepClone Overrule And Dynamic Block Jigs
Aug 17, 2011
If I add a DeepClone overrule on Initializeing a drawing it stops my block Jigs from showing correcly. I get a line drawn instead of the block. Other overrules I have used don't cause any problem.
By excluding the overrule from the initialize event it works fine.
I can remove then add the DeepClone overrule before and after the jig and it works ok but I really need it active on drawing startup.
Hit the brick wall again.
Ideally I don't use an overrule. All I need to do is understand what objects are being cloned before, during or after a clone operation but can't figure out the idmapping thing.
View 1 Replies
ADVERTISEMENT
Aug 11, 2012
Planning to overrule some of sub entities in a block. Let's make it simple . All lines and attributes in block should be circles and original block should not be seen. I came up with below code.
The code reacts differently if I remove
MyBase.WorldDraw(drawable, Wd)
and my goal is not to show the real block. Just showing whatever is overruled.
Public Class toverrule Inherits Autodesk.AutoCAD.GraphicsInterface.DrawableOverrule Public Overrides Function WorldDraw(ByVal drawable As Autodesk.AutoCAD.GraphicsInterface.Drawable, ByVal Wd As Autodesk.AutoCAD.GraphicsInterface.WorldDraw) As Boolean Dim myBlock As BlockReference = CType(drawable, BlockReference) If Not myBlock.Database Is Nothing Then
[code].......
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
Mar 22, 2013
So I've done a reasonable amount of work with dynamic blocks. I have a block with a rotation action and grip to arbitrarily align it. However I realized when trying to combine it with an alignment grip (which actions on the basic or fundamental block rotation angle) that there didn't seem to be a way to some how link a dynamic block rotation action or one of the custom angle properties to a the fundamental block rotation angle. Thus there are two additive rotations at work; the dynamic block one with its grip and the fundamental rotation property.
This can cause some confusion when one person aligns with the grip and another via rotating the block's fundamental property and would also be problematic in the generalized sense if one was trying to select or programmatically read back the net angle alignment.
View 2 Replies
View Related
Jun 13, 2013
I have a dynamic block, that represents a stirrup.
I inserted in the block a Block Propreties Table, that have some preset dimensions for the stirrups. The grip of this table I decided to put in the top right corner.
The problem is that I can't make this grip moveable )
See the attachement with the block
View 1 Replies
View Related
Jul 25, 2012
new to dynamic blocks but looking to streamline my wiring diagrams here and have created a block that shows the typical wire styles we use in a simple easy way. I now want to add an overall flip to the entire block and have not been able to find set this. I would prefer to use the same label and go from there. I have included the block to show what I mean. It is only working on the single visible item at the one time. I know this has to be possible just let me know what I am doing wrong. I am running AutoCad LT 2013
View 3 Replies
View Related
Feb 28, 2012
I need to create a dynamic block for a "Glass Panel" in a balustrade. I need to be able to insert it, in one corner and stretch it in another corner, to suit the staircase angle.
I've created the block, but it isn't working correctly. I've attached a drawing, with the left hand drawing a sketch of how it needs to be. The right hand drawing is my dynamic block attempt. As can be seen, when the block is stretched between the 2 points, it doesn't follow the angle of the staircase correctly (Very slight run off)
View 9 Replies
View Related
Nov 21, 2011
I wish to create a dynamic block containing some attributes. These attributes are inside rectangles that can't be modified in length using linear parameters ; but the attribute has to be always in the middle of the rectangle. So, I draw a line inside the rectangle (in a hidden layer) and insert the attribute with center justification (not sure for the translation) that I place in the middle of this line ; then I put a coincidence constraint (not sure for the translation, but it's the first one) linking the middle of the line with the middle of the attribute.
But here's the problem : when stretching my rectangle, the insertion point of the attribute suddenly changes from "center" to "bottom left".
View 2 Replies
View Related
Dec 4, 2013
I am looking for a way to use the ATTIN/ATTOUT workflow to bring in data from an excel spreadsheet to drive the size of each of my block's instances. The block will be simple, a rectangle, with width and length parameters. For each entity in my excel/csv file these parameter values are spelled out. I know how to display these parameters in my attributes, but I don't know how, if I were to feed in these values, to drive the geometry. If there's a better way to take a list of width and length values to generate a series of blocks each with a rectangle containing its respective size.
View 1 Replies
View Related
Nov 7, 2011
I need to do some repetitive task on a lot of dynamic blocks, unfortunately, when I open each file, AutoCAD keeps asking if I want to open it with the block editor.
Is there a way to disable that dialog and open the files as normal dwgs?
A hint: BLOCKEDITLOCK doesn't make it, it shows another dialog...
View 4 Replies
View Related
Mar 26, 2012
I'm trying to make a dynamic block of a column radiator.
It should be very simple. It's a 46mm wide module that comes in a range of heights (300, 500, 600, & 750mm) and a range of assembly widths (9, 13, 18, 22 & 27 modules wide - more commonly given as mm widths of 414, 598, 828, 1012 & 1242 respectively).
My attempt at constructing it has gone quite well, but when 'stretching' the block a ghost of the core 414 (w) x 300 (h) unit remains. I attach the block to give you a better idea of what I mean.
View 4 Replies
View Related
Jul 16, 2010
I have a drawing ("SURUBURI.dwg") with several dynamic blocks ("M12", "M16", "M18" ... an so on...). I want to insert in my current drawing, one of the blocks from SURUBURI.dwg, for instance the block named "M12".
For that i tried creating a new command "INSERT_M12" that has the following script :
^C^C-INSERT; "I:/Ionut Mihaila/Goodies/SURUBURI.dwg/M12"
Now obvious that doesn't work, but i think it shows clearly what i want to accomplish. So is there an other way to do this?
View 9 Replies
View Related
Sep 18, 2013
I'm working on a drawing and I want an action to work on two diffrent dynamic blocks.
In my case, I wish to have two blocks that I can rotate by one rotation grip.
How do I manage to work this out?
View 1 Replies
View Related
Feb 4, 2011
I have successfully created a dynamic block. I can insert it into AutoCAD, and it behaves like I want, except for one thing.
I can select the block and change it by taking a grippoint and place it at another position. So my block is e.q. stretched, just like I wanted.
But then. When I want to use the ordinary STRETCH command of AutoCAD, I can only stretch the insertion point of the block, but not the grippoints. Is there a way to set a grippoint to be select edable by commands like STRETCH.
View 9 Replies
View Related
Mar 1, 2013
I would like to create a "wave" dynamic block, see below...
It is made from wipeout.
Is it chance to make a similar?
If I make a list for the length (from 125 to 350), after can I make a table /list /summary where these size are shown?
View 9 Replies
View Related
Jun 27, 2013
Why the drawing title in my dynamic block will not scale up or down. The rest of the objects scale properly but just this the drawing title text attribute will not follow suit.
I tried adding position point and link, etc....I run out options and don't know how to fix this.
LT 2012 user
AutoCAD LT 2012
Windows 7 - 64 bit
View 3 Replies
View Related
Nov 15, 2012
I have a dynamic block with several actions and parameters. There are three grip points. Two are visible. One appears when you move one of the other grips. If i insert or paste this block near my template, the X/Y basepoint stays near the template when i drag the block on the template with one of the other two grips.. When i print the drawing the basepoint stays visible and the scale on my printed drawing is not correct (smaller).
View 9 Replies
View Related
May 29, 2013
I am creating a dynamic block of a conveyor belt it has a set number of widths and needs to be stretchable in length, which I have managed to do. The motor is placed half way down the length of the conveyor and needs to stay centered
I know I need to use the move command and put in a factor of 0.5 somewhere, but I can't remember how to do it.
View 6 Replies
View Related
Jan 4, 2014
I have a drawing with dimensions. Now, I want create Dynamic Block Controlling Visibility with dimensions in drawing with name dimension.
LT-don-TD LT-Kdoc-TD LT-Kngang-TDLT-don-thay LT-Kdoc-thay LT-Kngang-thayLT-don-moi LT-Kdoc-moi LT-Kngang-moiH-don-TD H-Kdoc-TD H-Kngang-TDH-don-thay H-Kdoc-thay H-Kngang-thayH-don-moi H-Kdoc-moi H-Kngang-moi
Then, I use command DAL; I can select dimension want use.
View 8 Replies
View Related
Jul 4, 2013
How do I stretch a hatch in dynamic block? It does not seem to work if I select the hatch along with other lines of a counter block.
View 2 Replies
View Related
Mar 5, 2012
I have an X centered as my insertion point.
When I stretch the dynamic block for a larger area the X stretches but into the next single box but not centered within the double space.
how to get the X to be centered in the box when it is enlarged to a double or triple size?
View 3 Replies
View Related
Jun 14, 2012
Is it possible to mirror a rotation within a dynamic block?
See the attached drawing. I am trying to have two rotations within a dynamic block, but only one grip. When the grip is rotated one half of the block rotates while the other half rotates in reverse. The resulting action would be much like the wings of a butterfly.
I have tried many different combinations of parameters, actions and constraints with no luck. The block in the attached file was as close as I could get. Have I reached the end of what AutoCAD is capable of?
View 7 Replies
View Related
May 5, 2012
I have a block of a roof screen. What i want to do is to stretch it & have the slats on the front & also the supports on the rear array @ different intervals. The slats on the front would array every 6-1/2" (The slats are 5-1/2" wide with a 1" gap). The supports array every 4'-0". I have tried to do this multiple ways with mixed results. How to get my desired outcome. I am enclosing my block.
View 5 Replies
View Related
Mar 28, 2011
I have the attached file as a dynamic block.
Last week I opened the drawing and added some visibilty states etc. to the block.
Now when I open the block or insert it into another drawing for whatever reason the cursor or crosshairs stop at the edge of the block. And if you move towards the middle of the block where there isn't any lines etc. the cursor will move to that point until you hit another line then it will stop moving again.
I've been reading some other posts for different dynamic block topics/issues and read that everyone has problems when you get to higher numbers of visibility states, but when I edited last week I only added 7 states. Is that enough to make this happen? It sounds like everyone else that is having problems has far fewer visibility states than on the attached drawing.
View 1 Replies
View Related
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
Jul 27, 2011
I am looking to create a dynamic block that changes in scale, ex. If I have two (2) viewports in paper space, one 1/4"=1'-0" the other 1/8"=1'-0" I want my blocks to appear to be the same size in paper space.
Also, I would like my blocks to change attributes/features ex. If I have a "light switch block" I would like to have the option of switching the block from a 3-way switch, 4-way switch etc.
View 4 Replies
View Related
Oct 6, 2011
The block is a piping with various links that back together and they should stay behind each other, they are not go over each other otherwise the spacing is not good after data extraction.
The distance between not less than 100 mm and the total length should not exceed 5000mm are. Furthermore, they are relatively movable from each other.
I've been working with linear parameters and constraints, but that's not good as far as I know I can not apply visibility later with links that point to the other side.
View 1 Replies
View Related
Feb 28, 2013
I would like to create an "Y" dynamic block, see bellow.
The hole length and the "cross" point will be variable, between the two sticks will be 90 deg, and it will be FIX.
I would like if I change the "variable 2" distance the two sticks follow the cross point, and the top of the sticks stay in the same level, but between the sticks the 90 deg stay!
View 9 Replies
View Related
Sep 17, 2013
I am working on making some view tags, and I would like the underline between the tag's title and the scale (any arch or engineer would know what im talking about) to stretch as text is added or taken away. Basically I want the right end of the underline to always be aligned with the right "edge" of the last letter of text. And no, I can't just underline it, the architect is very particular about not doing that. Right now I have this awesome dynamic sheet view tag with a rotatable north arrow and a dozen visibility states for the scale bars, but it all seems in vain if I still have to work with it manually. The text is an attribute, no special properties or settings, just locked in position.
View 6 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
Jan 24, 2013
I am in the process of fixing one of our dynamic blocks. It's a fairly simple fix where there was a typo in one of the names of our items in the lookup that needed to be fixed.
I changed the name of the item in the lookup table. I went and did the test block and it seemed to work fine, but when I bring the block into a drawing, it reverts back to the old lookup as if I did nothing at all.
I made sure that the path was correct and I even just dragged and dropped straight from Windows Explorer to no avail.Does AutoCAD keep referring to the old block? Did I forget to change something else?
View 3 Replies
View Related