AutoCAD .NET :: Select All Text-based Items

May 17, 2011

I'm trying to select all Text-based items (Text,Mtext and Attribute References) in a drawing to check to see if they match a pattern in a regular expression.  Although i have a block with an attribute in the drawing and the selection filter consisting of 

DxfCode.Operator, "<OR"
DxfCode.Start "ATTRIB"
DxfCode.Start "TEXT"
DxfCode.Start "MTEXT"
DxfCode.Operator, "OR>"

It isn't picking up the attribute Reference in the block.  

Is there a workaround using the Editor.SelectAll method and not having to programmatically check each block's attributes? I'm using AutoCAD 2009.

View 2 Replies


ADVERTISEMENT

Illustrator Scripting :: Select All Items In Document Based On SpotColor?

Jun 28, 2012

I'm trying to select every object with the color "CutContour" So far I've been trying:
 
myDoc.selection = myDoc.spots.getByName("CutContour"); I guess this obviouslly wouldn't work though because myDoc.selection is looking for an array of objects. However, I can't figure out how to loop through all the objects in the document and check to see if they contain the SpotColor.
 
I want to use the Select > Same > Stroke Color , but I heard that using that in Javascript isn't available unless you have CS6 (which I currently don't). Is it true that accessing menu items through scripting is a feature in CS6?

View 4 Replies View Related

AutoCad 2D :: Cannot Select Text Items

Jan 17, 2008

I am using 2007 and cannot seem to select some text items. Happens in mt and dt in existing drawings.

View 9 Replies View Related

AutoCAD Architecture :: Unable To Click On Text / Select Items

Mar 31, 2013

All of the sudden I cannot double click on text to edit and I cannot select items before I use a command. If I have selected an object the delete button will not work.

View 1 Replies View Related

Xara :: How To Select All Text Items In Xar File And Change

Feb 24, 2011

I have about forty maps created in DP6. Each of these has numerous pieces of text within it. These include title, map number, descriptive notes, individual letters such as A B C, scales, map symbols etc etc. These are currently all in Arial with some parts being bolded.

My question is:

In any one map can I select all the text within that map and change the character of the font? Ie can I grab all the text and change it from arial to a serif font? Or change all the text to a different colour?

I hope it can be done. I have done a bit of experimenting but have not found a way yet.

View 5 Replies View Related

AutoCAD Dynamic Blocks :: Link Text Items Between Pages And Items In Drawing?

Apr 17, 2013

I am hoping to link text items between pages and items in the drawing such as elevations?

So, ideally, I would have a front page to my drawing set, and this would have a 'Contents' type table on it, with the title name of each drawing in one column, then the drawing number in the next column. This is the tricky bit, someone must know: If i was to change the name / number of any item in this table, could it change also (linked to) the following items:

Drawing title  (as a text idem on the layout sheet that that drawing relates to) 

Drawing number (as a text idem on the layout sheet that that drawing relates to) 

Elevation call-out (on the plan view)

And possibly:

Excel reference cell

Drawing layout tab title (this might be pushing it!!)

Perhaps this could be done by linking to an external Excel spreadsheet with these titles modified in there? I'm not sure. This would be ideal as typing into excel is a lot easier than the triple click text modify method required currently.

I waste a lot of time renaming and updating sheet names / titles / numbers. Are there standard templates for drawing sets that may have this built in available anywhere that I could try?

View 7 Replies View Related

AutoCad :: Can't Select Multiple Items

Jul 21, 2006

No matter what command i try in autocad (move, erase, copy, etc)..i can only select one item at a time. When i choose one item it goes dashed (as they normally do), but when i click the second item the first one i chose goes back to solid and if i press return only the second item i selected if affected. Similarly if i choose 3 items , it forgets the first two and only keeps the third one.. Is this an Autocad options thing or a windows Mouse thing?

View 8 Replies View Related

AutoCad :: Unable To Select Multiple Items

Jan 15, 2010

Suddenly I can only select one item at a time. If I move onto another item, the first one de-selects. I haven't knowingly made any changes. What has happened and how to put it right? I can select multiple items via 'click and drag', but only within one drag - another drag then de-selects the first drag again.

View 9 Replies View Related

AutoCAD Map 3D :: How To Select All Polylines Based On Polyline Object Data

May 17, 2011

I have polylines that when selected, under properties it lists Object Data for the selected polyline. There are like 10 categories. This drawing is actually creeks in a county and they have object data connected to them where some are "a" some are "b" classification and I want to select all of the "a" polylines and put on a diffrent layer.

View 1 Replies View Related

AutoCAD 2010 :: Hatch Select Objects Based On Attributes

Mar 27, 2013

I have some blocks that are associated with regions in my drawings.  I want to select regions based on attributes in the associated blocks.  Is that possible?

Is it possible to link my blocks to an external database and select the regions based on a field in the linked database?

View 1 Replies View Related

AutoCAD LT :: Select Multiple Items Without Having To Hold Down Shift Key In 2013?

Mar 14, 2013

How do I select multiple items without having to hold down the shift key in ACLT 2013?  I didn't have this problem in 2010.

View 3 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Select / Highlight All Items In List Box?

May 6, 2012

How can i select/highlight all items in a Multi_select list_box? 

View 4 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Select Dynamic Block Based On Previous Selected Point

Apr 9, 2012

For a program i am working for i have to extract the base point of a dynamic block.

This can be done perfectly by this function:

(cdr (assoc 10 (entget (car (entsel)))))

But i want the entity selected based on a previous slected point. So for example when i selected pt1 (which is a point at the border of the dynamic block) i want to be able to extract the base point on the block whit this point.

View 8 Replies View Related

AutoCAD Inventor :: ILogic Text Resizing Based On Length Of Text

Feb 19, 2012

I'm trying to finally utilize iLogic and all of its functionality (after using the basic features of inventor for the past 3 or so years) and I was wondering if there was a way to use iLogic (or some other feature for inventor) to resize text in a title block field of an IDW based on the length of the text entered (i.e. if the part's name was "Cam Retainer" the text height would be .12, but if its part name was "Spacer Cam Retainer Bushing" the text height would shrink down to .085 or something) so that it would still fit nicely into the text block?  

View 3 Replies View Related

Photoshop :: Select Items Without Layers

Dec 8, 2008

In Photoshop CS3... I have several items on their own layer. Is there away to select these items without having to find their specific layer.

Is there a tool to select the items I want on my page, thus Photoshop automatically selects their associated layer?

I would like to select more then one item at a time, but their all on separate layers.

View 3 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Find All Text In Selected Items And Swap Text

Oct 25, 2012

A program that prompts:"select objects:" then I can select some objects like as text, line, circle,... after that program find all texts in selected items and swap text

swap means:   xxx/yyy ===> yyy/xxx ;    "/" is a divisor

swap function for one text is here:

(defun c:swap ( / pos ent el txt)
(vl-load-com)
(if(null #div#)(setq #div# "/"))
(setq #div#
(if(=(setq tmp(getstring(strcat "
Divisor character: <"#div#"> ")))"")
#div# tmp
)

[Code]....

but I want a program to prompt me like this:

(prompt "Select objects:")(terpri)
(setq a (ssget '((0 . "TEXT"))))

and gets divisor char </>:

after that:

(setq n (sslength a))
(repeat n

....

)

repeats n times, n=number of texts in my selection

View 6 Replies View Related

Maya :: Unable To Select Multiple Items In The Outliner?

Apr 28, 2013

I am using a MacBook laptop without external mouse and on Maya 2013 I could select multiple outliner items with the CMD + ALT keys. Since Maya 2014, this does not work anymore. how I can multi-select ? (I am not talking about the SHIFT key because my items are not contiguous).

View 8 Replies View Related

Illustrator Scripting :: Select Items On Multiple Artboard

Sep 27, 2013

I have script where I select items on multiple artboard but I can't seem to get get active art board of the selected item. Is this possible?
 
each artboard has a text item and I would like them in the same position on each of their own artboards that they are already one. right now it adjusts them all to one artboard. here is what I have so far
 
doc = app.activeDocument;
for(i = 0; i < selection.length; i++){
    var firstItemPosition = doc.selection[0].position;
    doc.selection[i].position = firstItemPosition;
    var activeArtboardIndex = doc.artboards.getActiveArtboardIndex();
    alert(activeArtboardIndex);
}

View 10 Replies View Related

CorelDRAW Graphics Suite X6 :: Select Based On Criteria On Single Page?

Apr 27, 2012

Is there a way to select objects like selecting all rectangles filled with red colour on the current page only. The find objects is not good for current page only. it works for whole document..so, any option?

Windows 7 [64-bit], Core i3 - 3.02 GHz, 4GB DDR 3 RAM

View 3 Replies View Related

AutoCad :: Quick Select Command Value To Select One Type Text Or Other Object

Oct 26, 2011

In Quick Select command function, I want to use more properties value to select one type text or other object.

View 9 Replies View Related

Photoshop :: How To Select Items On Canvas - Aside For Selecting Each Individual On Layers Panel

Aug 27, 2012

how to select items on the canvas, aside for selecting each individual layer on the layers panel. have Mac os X 10.7.4, and I previously had cs5.5 on my laptop.
 
I was able to use the direct select tool to select mulitple items by either dragging it would select anything in the box or using shift to select multiple items. Do I have to click on every item in the layer panel to select it on the canvas? Is there a option that I have checked when it should be unchecked?

View 7 Replies View Related

AutoCad :: Text Based On Parameters / Dimensions

Nov 14, 2011

Is there anyway to generate text based on other dimensions or parameters stored in the parameters manager?

For instance, if I have a line that is 3" long, I'd like to have a note that says 'This line is 3"'. Or, if a circle is X feet in diameter, I'd like to have a note that says 'This circle is X feet'. These are just examples, but I hope you get what I'm saying.

I'm using the new parametric modeling and doing some amazing stuff, but I'd like to parametrize my notes, too, if at all possible.

View 1 Replies View Related

AutoCad 2D :: Blocks That Stretch Based On Text Length

May 2, 2011

My firm worked on a project recently with a sheet numbering system that created long sheet numbers, ie, MH-101-R1. Since the sheet numbers were so long, they no longer fit in our normal sheet/detail/drawing label blocks. (See attached DWG for an example.)

We are looking to create either a dynamic block or some kind of block that will automatically stretch with the text length.

View 4 Replies View Related

AutoCAD 2010 :: Constraint Based On Attribute (text Box) Width?

Apr 17, 2012

Is there a way to constrain a few objects to an attribute text box width?  I want the background box and line to stretch, based on what is typed in that attribute box.

I know that if I make the attribute, a multi-line attribute, I can add a backgroud mask.  I don't want to take this route, because the mask boundary varies, depending on what character is typed.  Also, there is a gap between the mask and line I would like to maintain.

I tried some constraint stuff, but all I seem to be able to constrain is the insertion point of the text box, and not the width grip...

View 1 Replies View Related

AutoCAD LT :: Command Line Based Text Editor For Scripts

Jan 20, 2012

I need a command line based text editor for scripts.  Textedit wants to use an in place editor.  Switching DTEXTED does not make a difference. 

LT, C3D 2005 - 2014
XP, Vista, 7

View 9 Replies View Related

AutoCAD 2010 :: Macros For Moving Text Based On Relative Coordinate

Oct 25, 2012

I am using AutoCad 2012, with CADDUCT. On my runs of duct that go vertical, I like to stack my tag numbers beside the riser in order, so our installers can easily identify the order without a ton of section views. I am trying to figure out a macro that will do numerous things. Since my tags come out at different rotation angles, I would like to do the following commands.

Rotate object text "TAG #" to 0 degrees

move object text "TAG #" to "Snap from" & "snap insert" 6" below the tag above it

I want the numbers to align by their insert locations up and down the page, and exactly 6" on center vertically from one another. The tag numbers have a node justified to the center up and down of the text.

View 6 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Create Text Based On Room Dimensions?

Dec 19, 2012

make a LISP that will work with my room dimensioning? I'd like to be able to specify the width and depth of the room using a command similar to the "dist" command, and then click a point to place a text based on the distances gathered. I'd also like the text to be formated into architectural units and displayed like this: 12'-0" X 13'-5". Also, if possible, round the result to the nearest inch (to avoid 1/2" and 1/4" dimensions).

View 9 Replies View Related

AutoCAD Civil 3D :: Change Text Color In Point Label Style Based On Variables

Sep 27, 2013

Is there a way to set up a custom Point Label Style that will change the text color if the information entered meets particular criteria?  I will be entering sample measurements taken on two (2) different dates, but if the sample data is greater than 1.0, I want it to show up a different color.

View 4 Replies View Related

Photoshop :: Convert Pixel Based Files To Vector Based Illustrator?

Apr 23, 2012

Is there a way to convert the pixel based phtoshop files to the vector based illustrator files?

View 2 Replies View Related

AutoCAD Architecture :: Turn Off Ghost Text That Appears When Select Text?

Aug 14, 2007

Any way to turn off the ghost text that appears when you select text that is annotative, not get rid of it just not show all of the other scales for clarity.

View 6 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Select Multiple Text To Heal Instead Of Single Text?

Aug 1, 2013

this code is used to fix specific font but its problem that it will prompt you to select single text 

i need to make it to select multiple text so it saves me a lot of time, 

;;; Process Individual request
(defun cht_ProcessIndividual ()
(setq sslen (sslength sset))
(while (> sslen 0)
(setq temp (ssname sset (setq sslen (1- sslen))))

[Code]...

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved