Search the Community
Showing results for tags 'block insert attributes'.
Found 3 results
Editing information in title block on multiple drawings layouts
timmy2f posted a topic in AutoCAD LTHi, I'm working on a project in which we have a large volume of drawings, there's information in the title block that is required to be changed on regular basis. Would anyone know if there is a quick method to doing this. I've tried a few things I've found on other forums but they didn't work. Could be me screwing it up or the information could be not compatible with newer version, the version of Autocad I'm using is AutoCAD LT 2014. Thanks
Automating tasks for swiftness and presentation purposes using Blocks and Tables
LesCarpenter posted a topic in AutoCAD Drawing Management & OutputI was wondering if anyone can help with problem I have. I am using Autocad 2011 although I only use it to tidy my drawings prior to sending to my client, my proficiency is quite basic. I have been tasked with surveying a number of feeder pillars or cabinets with 5 points of data, pt 1 is the centre of the doors, the other 4 points are the corners of the cabinet always in the same order. These can be imported into Autocad as a series of points and then I have to join the dots, and draw the cabinet. I know a little about blocks and that I can create a block of my drawing and place it over the five points, and then I'm stuck as if I change the block once it changes it in all the other positions. After i have placed the block, I need to list the coordinates of the 5 points, this i do individually using the id command and copy and paste into a table. Is there anyway to speed this up? I have attached a sketch of what I'm after doing, there could be as many 20+ cabinets in a drawing. So any help is appreciated. Many thanks in advance. fp1 trial.dwg feeder pillar template.pdf
Insert block with attributes
aabfm posted a topic in AutoLISP, Visual LISP & DCLHi, I've been trying tons of different solutions to solve this problem: insert a block that has an attribute which happens to be the last object id. This is the best code I tried so far but without any succss. (defun c:q1() (command "_.PLINE") (while (= (getvar "CMDNAMES") "PLINE") (command pause) ) (setq objname (entlast)) (setq oad (getvar "attdia")) (setq orq (getvar "attreq")) (setq oec (getvar "cmdecho")) (setvar "attdia" 1) (setvar "attreq" 0) (setvar "CMDECHO" 0) (setq xScale 1) (setq yScale 1) (setq rot 0) (setq at1 "abc") (setq pt (getpoint "\nSpecify Insertion Point: ")) (command "_.insert" "TROC_PRP" pt xScale yScale rot objname) (setvar "attdia" oad) (setvar "attreq" orq) (setvar "cmdecho" 1) ) Can you help me? Kind regards.