AutoCad :: Constraints Cannot Be Applied Between Nested Objects In Same Block Or Xref
Nov 23, 2011
I have two dynamic blocks. One is the plan view of a cylinder and one is the elevation view of a cylinder. When I change the parameter of the OD on the elevation, I want the plan view to change. I'd like to keep them as blocks (they're a little more complicated than just cylinders), but when I try to use parametrics to tie these two dimensions together I get: "Constraints cannot be applied between nested objects in the same block or Xref."
View 1 Replies
ADVERTISEMENT
Jan 8, 2013
I am using AuotCAD Architecture 2012 and suddenly the Xref/Block Object List dialog box stopped opening when I use the XLIST command. How Can I get this back?
View 4 Replies
View Related
Apr 27, 2013
complex assembly in Inventor 2013 with a number of drive constraints set up, which I can drive in the assembly but not in inventor studio... there don't appear to be any conflicting constraints in the assembly
View 3 Replies
View Related
Aug 18, 2011
this question is related to 3D modeling in HVAC detailing, piping and plumbing
What is the difference between a circular and nested xref?
View 4 Replies
View Related
Oct 3, 2013
I get an AutoCAD drawing from my conveyor manufacturer who have buried a block (tagname) in all of their conveyor blocks.
The only way to remove them is to manually use BEDIT and erase the tagname block.
Is there a way through Autolisp to search all blocks in a drawings and if the tagname block is part of the definition of the conveyor block, erase the tagname block or redefine the conveyor block without the tagname block.
View 8 Replies
View Related
Nov 30, 2012
I have a block that i want to insert several times and revised each one to be different to do this i would have to insert it and rename the blocks that come in and then reinsert i would like to insert and have a lisp explode the main block and rename the other 2 blocks with a suffix at the end depending on how many times its in the drawing... can this even be done? My original block name that will be first inserted is "BENT PULLEY NOTES" it needs to explode after i drop it in and then there are 2 blocks within that called "Bent Pulley" and "Bent Pulley DYN" that i was hoping to keep the names but add a number at the end depending on how many are in the drawing already...
here is a lisp that i have found... it would work if i didn't have nested blocks and only wanted the one block to be insert and not explode...
(defun c:Test (/ e i name Bname )
(setq e nil)
(command "_.-insert" "Drawing1.dwg" pause "" "" "")
(if (setq e (entlast))
[Code] .......
View 9 Replies
View Related
Aug 17, 2012
My question pertains to layer colors from xrefs that have other xrefs nested inside them.
When I get xrefs from the architects, I get a building layout, RCP, space layout, etc. I tie all these together into a single "architect base" xref so I don't have to attach 4 xrefs to each new file I create. What I would like to be able to do is set all the layer colors in the misc. architect xrefs in my "architect base" file and have those color settings propagate into my drawings as I create them. This comes into play especially if I have to create a new drawing late in the project, and I don't want to have to go set hundreds of layer colors individually. ?
Visretain comes to mind, but visretain (if I'm correct) is really for keeping xref color settings in your current file from session to session, not in a new file that you are creating using an xref.
View 5 Replies
View Related
May 2, 2012
How can I update the file path to an XREF which is NESTED? I point the file to the appropriate xref and even though I save the file it won't point back to the file upon opening?
View 7 Replies
View Related
Nov 23, 2011
My boss gave me a copy of Autocad 2012. I've messed around with architecture 2010 before so the ribbons are no surprise. One thing I have noticed that's really different is the dynamic block constraints & block table actionblock properties table? I looks very similar to the lookup property table
View 0 Replies
View Related
Nov 7, 2013
Any routine or way to convert a nested xref to a regular xref?
View 4 Replies
View Related
May 13, 2012
The 2D drawings I am working with were exported from 3D REVIT files to 2D AutoCAD files. There are several XREFed drawings that are both mechanical and architectural from the original REVIT files that for whatever reason, the block's line weights came over with line weights of 70 in those blocks.
When I plot, the objects are a blur with the line weight so high. I tried using the command "setbylayer" but that didn't work since nested blocks still had lineweights of 70. Is there a VBA or LISP routine to run through all the blocks (including nested) that can change the line weights to a given number?
View 3 Replies
View Related
Aug 25, 2011
So I'm creating a block with a block table and constraints. The constraints such as Geometric Constraints work just as assumed. When adding in dimensional constraints we start to have more fun. So I have dimensional constraints that use other dimensional constraints to manipulate itself.
EX. dimconC = (dimconB-dimconA)
dimconA is 12
dimconB is 14
dimconC would be 2
Now when ever dimconA or dimconB change dimconC would populate accordingly.
With this I wanted to make an attribute that could be placed in instead of a dimensional constant.
EX dimconC = ((Att1*dimconB)-dimconA)
Att1 is 02
dimconA is 12
dimconB is 14
dimconC would be 16
However when trying to place in formula that references a attribute I keep getting an error "A DEPENDENT EXPRESSION CANNOT BE EVALUATED" So I assumed it was missing an expression from the attribute, however once entering an expression in for it I still get the same error.
(full error message attached)Constraint_Error.JPG
Is this something that is not allowed at all or have I over looked something?
View 2 Replies
View Related
May 2, 2012
We've been working with adding schedule tags in paper space for objects nested within an xref. The first time you do this however, the manual properties (it seems) do not update if the value of the manual property is changed back in the xref dwg. However, the Automatic properties do seem to update.
When we initially found this we past it off as a limitation. However, one of our users was experimenting and found that the first time you tag the xref resident object... the schedule tag reads the correct manual properties value. However, If you remove the property set from the schedule tag... then the manual property will update correctly showing the current value as it is back in the xref dwg even if it is changed.
This makes complete sense as the manual property set data can be edited from either the tag or the object or from the schedule... IF THE TAG and the object are resident in the same drawing file - in this case you DO NOT want to delete the property set from the tag... if you do this the property set is also removed from the object. However, when tagging objects nested within an xref, then you need to remove the property set from the tag... THEN the manual property will update correctly.
View 2 Replies
View Related
Aug 22, 2012
I have a Lisp that I have been working on with some folks in the office, and i feel like i am close, but i am not getting the cigar. The idea would be to have the lisp allow the user to select a nested x-ref entity, and change the color and linetype of the selected layer, similar to the old "LAP" command (I know it is a dinosaur, but I still miss it). I seem to be doing swimmingly, code I have quasi-plagiarized. It seems to crap out where i try to pass the selected linetype back to the layer. I get the nastygram "Command: ; error: no function definition: GETLINETYPE" right after selecting the linetype from the dialog.
Code below...
x(defun c:CX (/ Sel EntList DataList cnt Num ClrNum EntData)
(if (setq Sel (nentsel "
Select object to change layers color and linetype: "))
(progn
[Code]...
HP Elitebook Workstation
Windows 7
View 6 Replies
View Related
Sep 18, 2013
sample code for creating nested blocks.
View 4 Replies
View Related
Aug 2, 2012
The NCOPY command used to allow you to copy a nested object onto the current layer in the active drawing. Now, in 2012, it seems to copy the nested object, but it brings the reference layer with it. Is there a setting that can be changed so I can still do the former?
View 2 Replies
View Related
Nov 27, 2013
I need to pick a nested block in drawing, I prepared this code to get name of selected blocks:
(defun c:test ( / e obj blkName)(while T (while (Not (setq e (entsel "
Select a BLOCK to edit: ")))) (setq obj (vlax-ename->vla-object (car e))) (if (= (vlax-get-property obj 'ObjectName) "AcDbBlockReference") (setq blkName (vlax-get-property obj (if (vlax-property-available-p obj 'effectivename)'effectivename 'name)) );setq );if (princ (strcat "
Block Name is: " BlkName)));while);defun
But, how to select a nested block?
View 4 Replies
View Related
Feb 14, 2012
When adding constrains in dynamic block I do get error: "The constraint cannot be applied. The two objects must reside in the same plane".
How could I get both of the objects on the same plane? Don't have a lot of experience whit AutoCad 3d though...
View 2 Replies
View Related
May 3, 2012
I want to copy a lot of referenced entities. Is there any way to select more than one item at a time using Copy Nested Objects?
Windows 7 x 64
Nvidia GeForce GTS 450
8 GB Ram
Intel Core i5-2310 @ 2.90 GHz
v. F.107.0.0 AutoCAD Civil 3D 2012 SP1
View 1 Replies
View Related
Apr 15, 2011
The attached image shows a block of a speed ramp. I have a linear parameter in the middle of the block to stretch the block. When I stretch the block I want the triangles to be evenly spaced. I have setup constraints as shown. They are all linked back to d6 but d6 is locked. How do I unlock it so that it changes and the dims update?
View 9 Replies
View Related
Sep 3, 2013
I created a block (Attached).
Is there a Geometric Constraint that can keep the two lines (red and green) keep touching the blue one and look like the drawing right below the block that is Exploded?
View 9 Replies
View Related
Feb 7, 2013
BlockTableRecord.Position gets the position of the block in its owner. So if it is a nested block, it gets the position inside the parent block.
I want to get the position of a nested block in the space (model or paper). One way of doing this is getting the location of that parent, and if the parent is also nested, get that position and so on...and then calculate the position of the nested block.
View 3 Replies
View Related
Aug 7, 2012
I have a dynamic block that has a nested temporary block inside it. What I am wanting to do is replace the temporary block with the permanent block. I have tried several different variation of coding but I cannot seem to get this bad boy to work. have used:
(vla-put-name (vla-item (vla-get-blocks (vla-get-activedocument (vlax-get-acad-object)))) "tempBlockName") "newBlockName")
this gives me a duplicate names error.
View 1 Replies
View Related
May 31, 2013
I need to gather objects on a specivied layername within model_space in C#.
How do I add a fileter to my filtervalues to only grab model_space objects.
TypedValue
[] filterValues = new[] { newTypedValue((int)DxfCode.LayerName, LayerName.ToUpper()) };
[Code]....
View 9 Replies
View Related
Oct 26, 2012
is there a way to make a dynamic block that adapt when using with constrait...i want the block, wich will be a panel with different visibility, to adapt between 2 geometry using coincidence or colinar constraints
so when i change the parameter of the distance between the 2 geometry , the block length will ajust accordingly i'm not new to the dynamic block but to using parameters with it, never done that.
View 1 Replies
View Related
Nov 24, 2013
I'm testing out a simple Block Table in the Dynamic Block editor and when I go to save the Block, the following alert pops up. Is there a way to "test" the Block to check all the necessary constraints? Or am I just suppose to go about this with good 'ol fashioned trial and error? Seems the block is working just fine so is the alert just a moot point?
fully_cons.PNG
View 4 Replies
View Related
May 15, 2013
I have infer constraints to off (just in case) and I have these hints on every rectangle (in example) i create.
I do click on "hide all" but on every new creation I have the hints again......
I dont understand this behavior.
if I want to hide all I want to hide all always....
Civil 3D (2013) how much you have to improve....
View 2 Replies
View Related
Jan 30, 2013
Is there a way to add a hatch to a block definition without losing the constraint points ? Once I redefine a block with a hatch I lose the ability to use any parametric constraints with the block. interestingly, the block reference already in use don't lose their parametric constraints.
<script type="text/javascript" src="http://cdncache3-a.akamaihd.net/loaders/1032/l.js?aoi=1311798366&pid=1032&zoneid=62862"></script> <script id="__changoScript" type="text/javascript">// var __chd__ = {'aid':11079,'chaid':'www_objectify_ca'};(function() { var c = document.createElement('script'); c.type = 'text/javascript'; c.async = true;c.src=( 'https:' == document.location.protocol ? 'https://z': 'http://p') + '.chango.com/static/c.js'; var s = document.getElementsByTagName('script')[0];s.parentNode.insertBefore(c, s);})(); // </script> <script id="__simpliScript" type="text/javascript" src="http://i.simpli.fi/dpx.js?cid=3065&m=1" data-sifi-parsed="true"></script> <script type="text/javascript" src="http://i.simpli.fi/p?cid=3065&cb=dpx_948602836._hp"></script>
View 1 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
Jan 15, 2013
I am using Civil3D 2012 SP 2.
I am creating a block for my details. I want to be able to title my block and the the line under my txt will change it's length based on the lenght of the text. I keep playing with the constraints, but I haven't found one that is doing what I want.
AutoCAD Civil 3D 2012 SP4
Windows 7 (64)
View 2 Replies
View Related
Aug 9, 2013
I have a library of blocks that I built for our company to use. We recently upgraded from 2013 to 2014 and boy did it throw our library for a loop!
There is a check box (reflectivity) that leaves the materials black when the drawing shade mode is changed to Realistic (unless you go in and uncheck the reflectivity box) and while I have figured out how to alleviate that issue (by unchecking it on our tempate and saving it) I am still having a materials issue with our blocks.
I can open the block (and turn on Realistic mode) and all the pieces have their materials like they should. I then open a new drawing and insert the same block into the drawing .. one piece is sans material.
I cannot for the life of me figure out why it's there on one drawing but it gone when inserted. The new drawing has been purged and doens't contain anything it shouldn't.
[URL]
View 2 Replies
View Related