AutoCad :: Modify Existing Viewport In Macro Or In Command Line?

Jun 4, 2013

Can I modify an existing viewport in a macro or in the command line?

Using a macro, I want to modify (specifically delete) the viewport from a layout tab after chspace from model space.

I have LT so no LISP. qselect works but cannot be put into a macro.

If I "select all" on a layout tab in paperspace ACAD says 1 of the objects selected is the viewport so I know autocad recognizes the viewport as a different kind of object.

View 6 Replies


ADVERTISEMENT

AutoCAD .NET :: Write A Text On Command Line At Same Line And Overwrite Existing

Jun 10, 2011

Basically I got a process which is quite long , let's say 30 seconds.

I want put a counter at command line showing to

user how many objects has been processed so far. But I don't want to use  New Line Feed to change the line and keep each new  number at same line and same location of command line. 

View 2 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Using Macro Parameter Contains Space (changing Layer Color From Command Line)

Sep 19, 2013

I'd like to change a layer's color from command line because of a user icon. I figured out from previous topics that I should use macro similar to this: ^C^C_filedia;0;-la;s;Verdeckt (ISO);c;1;l;dashed;;_filedia;1;re;

(I want to use this macro to change layer's linetype, too, but that's not the point)

The only problem with this macro: layer's name contains a space therefore Autocad tries to recognize Verdeckt as a command (and macro interrupts there) instead of setting Verdeckt (ISO) as the current layer. I've tried using different quote marks, none of them worked (' and " and <>). I hope there's a method for entering a parameter that contains space.

Software: Inventor Series 2011 SP1 x64
OS: Vista Business x64
CPU: E6400
RAM: 2*2Gb GeIL
VGA: Quadro FX 550

View 5 Replies View Related

AutoCAD Map 3D :: Inserting Viewport Over Existing Viewport

Jul 20, 2011

I am wanting to insert a second viewport over an existing viewport and have the information in the existing viewport behind the second viewport and not seen.  I want the second viewport boundary to be the "trimming" edge of the existing viewport.  How do I do this?

View 3 Replies View Related

AutoCad :: How To Create Viewport Within Existing Viewport

Jan 31, 2012

how do you create a viewport within an existing viewport ?

View 9 Replies View Related

AutoCAD Inventor :: How To Modify Existing Bolt

Oct 19, 2013

I want to insert from content center a screw and modify it, prolong it's thread and more.How can i do that?

In a part file i cannot insert parts from content center, should i make an assembly? and then?

View 3 Replies View Related

AutoCAD 2010 :: Why Can't Modify Paperspace Viewport

Dec 4, 2012

When working in a paperspace layout I am not able to move or re-size the default viewport. Upon selecting the viewport and attempting to move it I receive the following command line message: "1 was not in the working set." The viewport appears to be fixed and non-editible. What does the message mean? Would putting the viewport in the working set make it editable, and if so, how is this done?

View 2 Replies View Related

AutoCAD 2013 :: Modify Layout Viewport Boundaries?

Nov 9, 2012

There is a default viewport in Layout1. How can I reposition and resize it on the paper? It would also be sufficient if I could delete it--how do I do that? (then I could create one that fit my needs)

Briefly, what are disadvantages of not using Model view?

View 3 Replies View Related

AutoCAD Civil 3D :: Modify Assembly - Some Of Existing Subassemblies Move

Oct 24, 2012

I've got several assemblys built for a road project. the problem is whenever i modify an assembly by adding a subassemby, some of the existing subassemblies move. they stay attached to the assembly but they disconnect from the part they were attached to. i can move them back so the assembly looks correct but when i rebuild the corridor chances are they show up wrong. i've tried 'move to' and just grabbing and snapping. i can eventually get it attached but not without trial and error. i'm running c3d2012.

Dell Studio XPS 9100
Intel Core i7 CPU 930 @ 2.8GHz
12GB Ram
64 bit
C3D 2012 SP3.0

View 4 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Modify Existing Selection Set?

Sep 5, 2012

I need the same funcionality as in code below, but without using "command".

The main idea is alowed user to modify Existing Selection Set.

 (defun gt:ss->lst (a:ss / i lst ) ;_ / (setq i 0) (if a:ss (progn (repeat (sslength a:ss) (setq lst (cons (ssname a:ss i) lst) i (1+ i) ) ;_ setq ) ;_ repeat (reverse lst) ) ;_ progn ) ;_ if) ;_ defun gt:ss->lst(defun gt:ss_modify (a:en-lst / ) ;_ / ;;create Selection set (setq ss2 (ssadd)) (foreach f:en a:en-lst (ssadd f:en ss2) ) ;_ foreach ;;Run command and fill with initial content (command "_select" ss2) ;;Alow the user to modify the contents (while (/= (getvar "cmdnames") "") (command pause) ) ;_ while ;;get back the list of enames from modified selection set (setq ss3 (ssget "_P")) (setq ss3-lst (gt:ss->lst ss3))) ;_ defun gt:ss_modify(defun tst:gt:ss_modify ( / ) ;_ / (gt:ss_modify (gt:ss->lst (ssget)))) ;_ defum tst:gt:ss_modify

View 8 Replies View Related

CorelDRAW X4 :: How To Modify Macro To Process All CDR Files In Folder

May 25, 2012

I am using Coreldraw but in the past I have been able to create the following Macro to do the following

(1) open a file called C:ArtworkC67PSML.cdr
(2) change the text in one field from "Recorded in Ireland" to "Recorded in China"
(3) remove all guideline fields
(4) export the cdr to pdf format and save as new file C:Artwork2C67PSML.pdf

But I would very much like to be able to run the macro on all CDR files in the c:/Artwork folder, how I could amend my code (shown below) to do this ?

Sub Rings()
Dim doc1 As Document    Set doc1 = OpenDocument("C:ArtworkC67PSML.cdr")        Call TextTranslate    ActivePage.Layers("Guidelines").Editable = True    ActivePage.Layers("Guidelines").Shapes.All.CreateSelection    ActiveSelection.Delete    ActivePage.Layers("Guidelines").Activate      
[Code] ......

View 2 Replies View Related

AutoCAD .NET :: Modify Quality Setting - Shaded Viewport Options

Nov 18, 2011

I would like to modify the Quality setting shown in the "Shaded viewport options" section of the plot dialog box (see attachment).  The default appears to be Normal, and the options are Draft, Preview, Normal, Presentation, Maximum, and Custom.  I want to use Maximum for 11x17 PDF files but I have 1000's.  I can't open each file and change the setting, and then Apply to Layout.  I'd also like to know what "Custom" means, but I will settle for maximum for now.

Is this option available under PlotSettings somewhere?

View 2 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Modify The Existing Parametric Parameters?

May 2, 2013

Is there a way to modify the existing Parametric Parameters that are in the Parameters Manager using LISP?

View 2 Replies View Related

AutoCAD Inventor :: Modify Properties Of Existing Materials Without Changing Material Name

Dec 8, 2011

how Inventor Materials are used in your companies, what is your customization level and usage level.Do you use Inventor Materials as they come out of the box ?Do you create your own materials?

Do you modify the properties of existing Inventor materials without changing the material name?Do you show material names on 2D drawings (in parts list etc)?

View 7 Replies View Related

AutoCAD 2010 :: Modify Insertion Point For Existing Block Definition

Jun 16, 2011

I have several existing block definitions and need to change the insertion point. Also, when creating a new block in the Block Editor, how do I define the insertion point?

View 9 Replies View Related

AutoCad :: How To Create Button With Macro To Edit Existing Text In Place

Jan 12, 2012

I'm trying to create button with macro to edit existing text in place, with predefined text with macro .... For example, existing text is "Old text", and I want this text (or whatever I select) to edit in place with click on macro button to change it to "New text".

View 1 Replies View Related

Photoshop :: Modify Existing Shape

Nov 7, 2012

I've drawn a hollow ellipse shape (shape layer). I would like to remove the bottom half of the ellipse shape so that I am left with a parabola shape.
 
I've tried creating two shape layers and combining them in such a way as to subtract out the bottom half of the original ellipse but I am obviously doing it wrong.

View 10 Replies View Related

GIMP :: How To Modify Existing Rectangle

Feb 7, 2013

how to select and modify an EXISTING rectangle (not create a new one)? I drew a rectangle with rounded corners, and now I would like to modify the radius of the corners.

I've tried using the Rectangle Select tool to reselect the existing rectangle, but Gimp only lets me create a new rectangle.

View 4 Replies View Related

Photoshop :: How To Enter And Modify Existing Information

Nov 20, 2013

I downloaded a resume & cover letter template and I am not able to figure out how to delete information and modify existing information to customize these documents. 

View 2 Replies View Related

Illustrator :: Modify Text In Existing Logo?

Oct 31, 2012

How do I modify the text in an existing logo?

View 3 Replies View Related

AutoCAD 2013 :: Pick An Existing Line To Create A New Line With Current Layer?

Sep 12, 2013

For example, I'm making revisions to a plan and drag a block or xref of the floor plan changes where walls/doors/windows have moved.  I want to be able to simply pick the underlying linework as opposed to tracing over each line of said xref/block.

View 8 Replies View Related

AutoCAD Inventor :: Macro / Keyboard Command For Exporting IDW To DXF?

Oct 26, 2012

I have keyboard commands set up for exporting my .idw drawings to .pdf format (PD for me.) I would also like to set this up for exporting my drawing to .dxf format. I think this can be done with a macro that can be activated by a keyboard command, but I could be wrong. I don't want to do this with an iLogic.

View 6 Replies View Related

AutoCAD VB :: Command (macro) To Unlock All Locked Layers?

Aug 16, 2011

Create a command (macro) to unlock all locked layers and remove the fade effect.  I know how to unlock them by using the command LAYULK, selecting the entities on the locked layer.  I have been trying to automate the command so I don't have to select entities. 

View 4 Replies View Related

AutoCAD Inventor :: Macro-command To Change Title Block In IDW

Feb 11, 2004

Is there any macro-command to do this :

"Open the .idw that you created your title block in. Locate and right click on your title block in "drawing resources". Select copy. Open the file that you want to put your title block in. Right click on "drawing resources" and paste your title block there. Now you will have to delete their title block and then activate yours. "

I want to change my drawing template and I have many to do and it must have somewhere somehow a way to do this automatically?

View 8 Replies View Related

AutoCAD 2010 :: How To Clip Circular Viewport To Existing Circle

Feb 13, 2013

As often done in mechanical drawings, a circle is drawn around a detail in the main drawing, and the detail is displayed somewhere else on the drawing on a larger scale.

My detail is the small rectangle in the upper right corner of the larger rectangle. I have also drawn a dash-dot-dot circle object around that corner to designate the detail-area.

In layout 1 the top left viewport displays the "whole" drawing. I also created a circular viewport to display the detail on a larger scale.

In the circular viewport, I used zoom-to-object (and selected the dash-dot-dot circle). The result is visible :both circles (object & viewport) are still visible, and they are not concentric too.

I thought the zoom command would have zoomed until both circles overlapped eachother and were concentric...

View 1 Replies View Related

AutoCAD 2013 :: Command Line Appears Again After Plot Command?

May 15, 2012

I press CTRL+9 to make the Command Line disappear while drawing. When I plot (or when doing a plot preview) , the Command Line appears again by itself. So I always have to turn the Command Line off manually after each plot

The bug still happens;

- if Dynamic Input is turned off or on
- if I plot to a real device or in PDF
- if the Cammand Line Palette i docked or floating.

This is not an issue in AutoCAD 2012 so I guess it has to do with the new way they programmed the revamped Command Line palette in 2013.

Using Windows7

View 2 Replies View Related

AutoCAD Inventor :: Prevent User To Start Other Command While Executing A Macro

Feb 21, 2013

I have a macro that automatically creates a Detailed view on a sheet. It works on 2 input's:

- mouse click 1 (set's the target to be detailed)

- mouse click 2 (set's the location where the balloon should be)

The code works fine. But sometimes the user will start another command, or restart the same command, while it is still running. This off course gives all kinds of problems.

Is there a possibility in VBA to prevent the user to start another command while this command is running?Or is this problem a part of the clicking itself?

Here is my (it uses a Class Module called: clsGetPoint, see code below)
Sub AutoDetailedView() On Error GoTo ErrorManagment '(error handling 2013/02/18) 'step 0 Create a transaction. -> for 1 undo command Dim oTransMgr As TransactionManager Set oTransMgr = ThisApplication.TransactionManager Dim oTrans As Transaction Set oTrans = oTransMgr.StartTransaction(ThisApplication.ActiveDocument, "AutoDetailedView") 'step 1 Select a drawingView 'Set a reference to the drawing document. Dim oDrawDoc As DrawingDocument Set oDrawDoc = ThisApplication.ActiveDocument 'Set a reference to the active sheet.
[code].....

View 5 Replies View Related

AutoCAD 2010 :: Command Not Showing Up In Command Line

Nov 27, 2012

without reiterating a lot of what is said in this thread: [URL] ......

This happen outside the potential malware infection?

if you care to not click-through, the problem is that certain commands (not all of them) simply do not disply in the command line.  so the MOVE command for example looks like this:

NORMAL:

Command: _move
Select objects:

NOW:
Command:
Select objects:

same with QSAVE and who knows how many others.

View 5 Replies View Related

AutoCad :: Execute Line Command Like A Single Command?

Oct 27, 2013

line command is a multiple command. there is a way to execute it like a single command?

View 4 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Running Code As Macro (custom Command In Ribbon)

Dec 23, 2011

So I can run the following code from the command line with no problem:

  (WRK-Insert_Standards_Block '("S:\AUTOCAD\_Common\Linetypes\CSW_Civil-Linetype"))
  (WRK-Insert_Standards_Block '("S:\AUTOCAD\_Common\Linetypes\CSW_Survey-Linetype"))
  (WRK-Layer_Insert_all "CSW-X-FM_Layers_List")

However when I put it into a macro (custom command to be used from the ribbon) it spits out the following in my command line:

(WRK-Insert_Standards_Block '("S:

View 2 Replies View Related

AutoCad :: Copy Viewport Using CO Command

Mar 25, 2011

In the current drawing I am working in, when I copy a viewport using CO command it copies the viewport but nothing is seen in it. You cannot active it like a normal viewport; it turns into just a square. I do not have this problem in any of my drawings, just this one. If I copy the viewport by right clicking copy with a base point then paste it in the drawing, the viewport works fine. This is more time consuming then just using the CO command.

View 9 Replies View Related







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