AutoCad 3D :: How To Change 2D Blocks To 3D
Jan 6, 2012just wanna ask...how do you change 2d blocks to 3d blocks..
View 4 Repliesjust wanna ask...how do you change 2d blocks to 3d blocks..
View 4 Repliesreally simple this but I want to change the colour of some blocks. There are already some of this block in the drawing, but I am adding additional ones and want these to show up by changing the colour to red.
The blocks have been created in Layer 0, and inserted on another layer. When I highlight the blocks in question I can change the colour to Red, but even though the ribbon says otherwise they are still appearing in the original colour.
I have about 100 blocks. They are different in many ways, but all have multiple linear distance parameters, and these have the distance max set to lengths (all of them have different lengths).
I'd like to be able to change the distance max without having to open each block and do this manually.
Is it possible to export block info into Excel and then change it in Excel, and reimport into AutoCAD, saving the new information?
Or is there another way, through Lisp or some other part of AutoCAD that I don't know about?
I have a couple of blocks I've drawn in the wrong layer. I manage to get them over into the layer I want, but the color remains the same as the layer I drew them in. Do you have to go in an change it to a set color instead of "color by layer", or is there another way?
View 7 Replies View RelatedI have a series of blocks with all the same attribute tag names. I need to create a function that allows me to change a block from one to another within a drawing.
Can I do this by just changing the block ID? or do I need to go through and grab all the info from the old block and insert a new block with the attribute values and then delete the old block.
I have a drawing in house that has issues. When using edit/ copy and edit / paste on a block within the drawing, the block changes to another block when pasted. On a side note, it comes in at the rotation of the original object which was copied. I believe that I am using V.2000
View 8 Replies View RelatedI have a dwg that is converted from vectorworks with 100+ blocks of different names. All line-weight and color is set to 0.00mm and white.
I want to be able to organize multiple Block into same layer so I can color them by layer and change visibility (hide/Lock) by layer. but when I select everything to organizes "by layer" only non-block line can be organized.
Is there a way I can change multiple block into same layer without exploding them?
I try:
1. select block and change layer in properties.
Failed.
2. "set to by layer"
Problem: layer of block is still not changed when open with reference edit.
I have a dynamic block of some door hinges. Depending on the height of the door, depends on the type & quantity of hinges used. I was wondering if it is possible to have a block that detects height? If I insert the hinge block onto my drawing, and snap the base point of the block to the bottom left of the desired door, stretch the pick point to the top, I would like it to automatically change from 2x small hinges (for doors under 312mm high), to 2x large hinges (for doors under 1000mm), and finally to 3x large hinges (for doors over 1000mm)?
I have attached a PDF for visual reference to what I'm talking about.
I received some outsourcing drawings which include this block. All time if I try do some edits in block editor size of this block changed. Also if you reset this block, size changed. What is wrong with this block?
View 1 Replies View RelatedIf we want to change the color of a block we have to open block editor and change the color from there.
If in a design we have 100 blocks and we want to change their color to the same (say black), how can we do that? Do we have to do it for every single block or can we select all 100 blocks and change the color uniformly?
I have a drawing with alot of blocks in it. All the blocks are were created on layer Default and I want to change that to 0. is there a command that will do this, so that i dont have to open every block?
View 0 Replies View Relatedi'm trying to work with a block by changing the x or y value in properties -- but when i do, the block disappears. i don't work with blocks very often, but someone i'm working with sent me his blocks and i can change the height or width very easily in the properties window -- and his blocks don't disappear!
why are mine disappearing?
I am wanted to change some setting for editing blocks in 2013. I want to edit the block in place by just double clicking onto it. I can go through the properties and click on "edit in place" but I would like to eliminate that step.
View 9 Replies View RelatedI try create simple block where I change dimensions of polylines. Everything work with stretch partameter until I try use search parameter for change dimension.
View 4 Replies View RelatedI have a dynamic block with stretch property.
It changes length after copy/paste.
A sample drawing is attached here.
I can't for some reason get this rule to work, simply want to be able to choose what title block to use.
I created a text parameter with the multi-values: TES ELE and TES EQU
I have 2 title blocks in my template called TES ELE and TES EQU
Here is my code, basically, I want to rule to apply the title block based on the selection, which will be done on a form.
If Title = "TES ELE" ThenActiveSheet.TitleBlock = "TES ELE"ElseIf Title = "TES EQU" ThenActiveSheet.TitleBlock = "TES EQU"End IfInventorVb.DocumentUpdate()ThisApplication.ActiveView.Fit
I have found many threads in this forum and have used their solutions for this rule, but for some reason, my rule will not select the title block and place it in the drawing.
Here is a snap of my set-up and my template file is attached
Inventor Professional 2014-Update 2 - AutoCAD Electrical 2014
Win7-x64 | ASUS P8Z77-V | i7 3770 -3.4 GHz | 32GB RAM |
240GB SSD | nVidia GTX 670 4GB - 320.49
i create multible blocks (min. 100 blocks in diffrent name) with Diffrent hatches in that block....
i want to change the scale in all diffrent hatches.. in all block...
i want any lisp....
I'am trying to create a block that has 3 components that can change
1- crane model or base
2- crane boom has different lengths and needs to rotate at pivot point
3- crane jib has different length and offsets from the crane boom
You can do this in one block or do you need to have 3 separate blocks and just piece together?
Pulling apart a drawing that someone else did, each block contains a set of text that I need, along with the polylines for editing, however, when I explode these blocks to edit the polyllines - all of the text inside the blocks changes to generic terms like "AUX".
I assume that these blocks go to a lookup table of some sort to find their names, but it's not something I'm familiar with - is there a way to get the text to "hardcode" or something? Just force it to stay as it is before I explode the block?
I have a problem with my title block.
If I create a new drawing today the date is correct. But if I open it tomorrow and open a new sheet its still todays date.
How do I make the date changed with the new sheets??
I use civil 2012, and have a drawing with over 400 attribute blocks that are all set to be "green" in the enhanced attribute editor, properties tab. I would like for all of the attributes to be set to "by layer". However, I find that the it only allows me to change one block at a time. As said earllier, I have over 400 blocks.
View 2 Replies View RelatedWe wanted to automatically fill a block's attributes from a selection in Excel. I have a piece of code that has the user select/pick a block to fill. What I want is for the selection to fill multiple blocks in an active drawing. Some of the blocks are the same - which means the same tags/attributes. I've included the code that allows the user to select the block and throws the Excel selection to certain attributes.change the code so that
1) I don't have to manually select blocks - it will find them.
2) One cell (from Excel) will go to multiple blocks - some are same block name.
3) An IF statement that if a certain cell isn't blank/nil
(pretend it would be (nth 21 vl) change DESC11 to XYZ and DESC12 to ABC. For Block namesake we'll call one, BLOCK1 (say it has 3 instances and gets different info in each case) BLOCK2 (say it has 2 instances, also gets different info) BLOCK 3 AND 4 both have an attribute - DESCAA1 that gets different info from Excel.
(defun C:AUTOFCM (/*error* adoc attribs blkobj enExcelapp Sel Sht Rng vl Wbk ) (defun *error* (msg)(if adoc (vla-endundomark adoc)) (if (and msg(vl-positionmsg '("console break""Function cancelled" "quit / exit abort") ))(princ msg)(princ "Error!") ) gc) (princ) ) (or adoc (setq adoc (vla-get-activedocument (vlax-get-acad-object))) ) (vla-startundomark adoc) (alert "Select a range of cells in Excel.") (setq ExcelApp (vl-catch-all-apply (function(lambda ()vlax-get-or-create-object "Excel.Application") )) ) ) (if (vl-catch-all-error-p(setq Wbk(vl-catch-all-
[code]....
Is there a reason why my dynamic blocks are changing back to the defaut visibility when i copy the blocks from one file to another?
View 3 Replies View RelatedI don't give the right keywords with Google !?So from a classic selection (or ALL for ALL Blocks of the DWG) of entities,
we will keep ONLY blocks (Static or Dynamic)I am looking for a Lisp/VLisp routine to update all Color of Hatches inside Blocks when the Hatch Color is xxx If the color hatch is NOT XXX we don't update !
The problem : update all hatch from blocks where Color = 255 (or any other value)
---> other classic Color (1-256)
--> RGB Color 255,255,255 or any other
I don't know at all how to switch hatch entities from classic color to RGB color inside a Block..And dynamic block in Lisp/VLisp are far from my level 0.2 in Lisp ...
I have 4 Dynamic Blocks with the same name, but each are on different layout pages. I need to change the visibility state of all 4 to the same value. So far every attempt of mine has failed.
My process at this point is to: build a selectionset of all 4 Dynamic Blocks with the same effective name, convert the selectionset to a list of entity names, then use a foreach to change the visibility states one at a time. Currently, I get "error: bad argument type: lselsetp <Entity name: 7ffff7b6c90>". <Entity name: 7ffff7b6c90> is the entity name of the first block in the list. I'm guessing it's because the block is found on a non-current tab
(defun chgdynprop (e propname newval / obj v vval sal tot i) (setqobj (if(= (type e) 'vla-object) e (vlax-ename->vla-object e))) (if (= (vlax-get-property obj
I want to change the color, line type, width and layer of all my blocks in my drawing. is there a way to do this with out opening all the blocks for editing? I am using AutoCAD 2009.
View 1 Replies View RelatedBut I was wondering if it is possible to contol the insertion of dynamic blocks and it user definerable parameters from a excel-text file.
I am surveying a section of pipework and I need to display the brackets that are supporting the pipes. As there are numerous pipes on top of each other I have decided to show the brackets in plan and isometric view.
I think I have made the dynamic block ok and have numerous stretch/move and scale parameters working correctly.
But the only way that I can see of chaging these parameters at the momment is by manually typing them in the properties tool pallete for each individual block.
So I was thinking that if I can store the correct values that I need for each parameter in the dynamic block on our data logger along with the correct E,N,Z insertion point is it possible for this file to change the parameters in the dynamic block for example, If I have the correct insertion point stored and then have 10 parameters stored with that point for simplicity I store as A=5.00,B=8.00,C=0.100 etc and these correspond with the parameters in the dynamic block will this file be able to alter the dynamic block as the values in the excel/Text file are displayed.
Is it possible to change the length of a line based on the length of an attribute?
I'd like to make the line a MINIMUM length of X" (I haven't decided how long yet--but know I'll need a minimum). But then after the user fills in the attribute, I'd like the length of the line to change to the length of the attribute plus a small amount (again, I haven't decided yet how much extra).
What is the variable to change the dynamic grip parameter size and color.
View 3 Replies View RelatedI have an attribute blocks and this att block has two tag values , is there a simple code for to change 1st tag values automaticly according to 2nd values ?
for example :
1st tag (50x50) - 2nd tag ( 100 ) ==> 50x50-100
if i enter 201 valuse to 2nd tag then 1 st tag has to change as 100x100
if i enter 501 valuse to 2nd tag then 1 st tag has to change as 150x510
I attached a jpg file for explain much better
I'm working on a dynamic door, that has specific parameters to change its size and orientation. Everything works pretty good, only the arc for the door won't react the way I want it.
View 8 Replies View Related