AutoCAD Inventor :: Turn Off Work Planes Sketches - Macro / Batch Process
Aug 23, 2012
Is there anyway to batch-process a load of parts and assemblies to turn off work planes, sketches etc in the master design view rep?
I'm aware of the Object Visibility feature but I want them turned off in the model tree.
View 4 Replies
ADVERTISEMENT
Aug 12, 2013
Any time I create a new sketch in my assemblies, all of a sudden every existing work plane toggles from "invisible" to "visible".
In small assemblies, this is fine, but in 100+ part assemblies, it is a major headache. I don't want to turn off work planes every time I make a new sketch.
Is there any way to disable this "feature"?
View 3 Replies
View Related
Jan 11, 2013
I need to downscale whole assembly if its possible. If not, its no problem for me to downscale every single part separately (apx. 30pcs) and then put it together again but I need to downscale it with all its modeling history - sketches, planes and other geometry. I can't select them when using DERIVE function.
View 9 Replies
View Related
May 8, 2012
I have created a macro to change the Country of Origin text in a cd label file and I also have created a macro to remove some guide rings in the same label file but I am unable to combine the 2 macros into one macro I can run on the cd label file. The code for each macro is as below.
Sub Rings() ' Recorded 27/04/2012 ActivePage.GuidesLayer.Visible = True ActivePage.GuidesLayer.Visible = False ActivePage.Layers("Guidelines_2").Visible = True ActivePage.Layers("Guidelines_2").Visible = False ActivePage.Layers("Guidelines").Visible = False ActivePage.Layers("Guidelines").Visible = True ActiveLayer.Visible = False ActiveLayer.Visible = True ActivePage.Layers("Graphic Elements").Visible = False ActivePage.Layers("Graphic Elements").Visible = True ActivePage.Layers("Guidelines").Visible = FalseEnd Sub
'TextReplacePublic Function FindReplace(ByVal str As String, ByVal toFind As String, ByVal toReplace As String) As String Dim i As Integer For i = 1 To Len(str) If Mid(str, i, Len(toFind)) = toFind Then ' does the string match? FindReplace = FindReplace & toReplace ' add the new replacement to the final result i = i + (Len(toFind) - 1) ' move to the character after the toFind Else FindReplace = FindReplace & Mid(str, i, 1) ' add a character End If Next iEnd Function
Public Sub TextTranslate() Dim s As Shape ActiveDocument.BeginCommandGroup "Text Translate" For Each s In ActiveDocument.ActivePage.Shapes If s.Type = cdrTextShape Then s.Text.Story = FindReplace(s.Text.Story, "Recorded in Ireland", "Recorded in China") s.Text.Story = FindReplace(s.Text.Story, "Printed in Ireland", "Printed in China") End If Next s ActiveDocument.EndCommandGroupEnd Sub
how I could (1) join the 2 macros above or (2) create a batch macro for each macro above I could run to update all coreldraw cd label files in a folder.
View 7 Replies
View Related
Mar 25, 2013
I have a rule that turns off all work geometry and sketches of an assembly and all referenced parts and assemblies.
This rule is almost perfect.
When i run the rule. All sketches and work geometry are turned off. But sketches in sub assemblies remain visible in the top assembly. When i open the document of the sub assembly the sketches are off.
So what I see is a top assembly 'override' of sketch visibility inside sub assemblies
How can I turn off visibility of a sketch on a level higher?
View 9 Replies
View Related
Apr 2, 2008
I have 600+ files with names like: "ad------2~s800x800.jpg" but the photoshop batch process mode is having issues with the filename and outputs it as just "-"
View 1 Replies
View Related
Aug 19, 2012
Is there a way using ilogic,that when you select/highlight a part within an assembly and run the code that it will turn on the Origin planes only and also turn turn them off ?
View 5 Replies
View Related
Aug 14, 2013
I'm making a timelapse, and want to remove dust from certain scenes. I found a pretty neat tut from Angie Taylor [URL] which I tried MANY times following here instructions. After numerous failing attempts I would like to know why this don't work.
View 5 Replies
View Related
May 15, 2013
In a part file is it possible to find the adaptive workplanes used to create extrusion1. And then find if the two workplanes are at an angle with respect to the origin planes.
Have been looking for a while but it seems hard to find information on workplanes
View 4 Replies
View Related
Sep 6, 2013
Isn't this an important part of sketches? Why would I not be able to project a work plane.
Cannot project any w-planes whether default or created in inv2013.
View 9 Replies
View Related
Apr 25, 2012
Can extrusion-1 be shelled between the 2 work planes?
View 4 Replies
View Related
Aug 21, 2007
Ive started at a company where all of their parts and assemblies have all of the work planes, axis and points visible. Im getting bored of going view, object visibility, turn off all work features everytime i open a new model. Anything written that will turn off these features and only turn them back on when requested.
basically im looking for a shortcut, rather than opening every part and assembly and doing it manually.
View 9 Replies
View Related
Nov 20, 2012
The problem I'm having, or what's annoying, is reappearing (visible) Work Planes. I have a number of parts in my assembly that I make invisible and visible on a regular basis and I find that when I make a part visible, the Work Planes of that part also become visible. It's very annoying and time consuming having to turn off the Work Planes when there's no need for them to be visible.
Is there a way to either make all Work Planes invisible or to permenantly make Work Planes invisible unless you specifically make them visible.
View 4 Replies
View Related
Mar 28, 2013
Is it possible to turn of created work planes within a 3d model when viewed through the Design Assistant 2013 inventor viewer.
View 0 Replies
View Related
Sep 26, 2011
see attached image. The Origin Work Planes of my assembly, and some of the origin work planes in sub-assemblies have lost their names. No longer can I see XY Plane / XZ Plane / YZ Plane - all I see is a little red dot when I hover over where the name used to be. ??
View 2 Replies
View Related
May 27, 2012
In previous versions, as clunky as it was, I used to put a work plane in the centre of a frame generator part using "G_L/2"
This does not seem to work anymore in 2013.
Inventor Professional 2014.
Windows 7 64 bit.
View 1 Replies
View Related
Jul 28, 2012
As we have layers in AutoCAD Product, I Started using different sketches and using them as layers by turning the visibility on and off.
Can we write a macro (button Click) to turn one perticular Sketch on and off???
For example If I had a Sketch named as GROUNDFLOOR, can I use a macro to turn them off and on when needed?
View 9 Replies
View Related
May 2, 2013
I am working on an assembly that is designed around a box (bounding box) that could change size. I modeled the bounding box and placed it in a new assembly file. All other parts have been created within the assembly by referencing that bounding box with starting work plane and project geometry.
The problem comes in when I change the bounding box dimensions. The work planes for each additional part, which were defined by the faces of the bounding box, do not move when the sides move. Also, my projected geometry is not updating correctly. This is a simple box, with all 90° corners. So, all associated parts (at this point) are just rectangles.
View 4 Replies
View Related
Jul 16, 2008
I have an assembly that was generated by Pro/E. It opens fine, but there are roughly 1000+ planes that are all visible. Is there a way to easily shut these all off whithout having to do it in each part?
View 4 Replies
View Related
Jun 28, 2011
Is there a way to turn off screenupdating until a process is complete.
Similar to Application.ScreenUpdating = False used in Excel.
I make changes to several blocks and you can watch as it moves through each one. I'm guessing it might be faster if the drawing doesn't redraw after each.
View 3 Replies
View Related
Jul 2, 2013
I have a command to open some dwg files and print them. I´m using the Sub imprimePDF. When I did the code with (AutoCAD 2011 and VS 2008) , it runs ok but now it´s wrong.
This is the sub
Sub imprimePDF()
Dim myDWG As Autodesk.AutoCAD.ApplicationServices.Document
myDWG = Application.DocumentManager.MdiActiveDocument
[Code]....
When I´m debugging the code, last sentence produces an error: 'tr not declared' and I don't know why.
View 4 Replies
View Related
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
Dec 30, 2012
I have been using the addin "Save Run Macro" to automatically run a macro every time the "Save" button is pressed.
Any of the following questions about "Save Run Macro"?
1] When I protect the macro from viewing (so I can protect my code) "Save Run Macro" does not see the macro.
2] When I save the part for the first time (ipt, iam or idw/dwg) the macro does not run. I always need to run the macro again.
View 1 Replies
View Related
Nov 21, 2012
I have a master batch process which comprises several steps each of which will change the database. I am gettting the database once, then pass it thought the subsequent steps. Simple example in pseudo
void BatchAll(){
database db = new database
BindXref(db)
PurgeAll(db)
DoSomethingElse(db)
save dwg
}finish BatchAll
Should the database db be passed by reference (ref db)?
View 4 Replies
View Related
Dec 12, 2012
How to execute -Overkill command in autocad using batch process.
View 2 Replies
View Related
Mar 26, 2012
Why I get a process error batch converting these drawings? The command line says could not bind xrefs but I clearly checked the option not to bind.
View 2 Replies
View Related
Sep 16, 2011
I am learning to use Revit 2012 and having a hard time figuring out why basic drafting features don't seem to work with reference planes. Aligning more than a few of these one-at-a-time is time consuming - any way to extend multiple reference plane lines to a boundary line or object? I read your instructions for offsetting reference planes - when I select the reference planes button in the home tab, the options bar allows me to set an offset distance but I am at a loss as to how one goes about getting the line to offset - I keep getting the layout dimension when i try to click on the line!
View 9 Replies
View Related
May 6, 2013
I want to crop several images to size, then add a white boarder, a drop shadow and a stroke. Is there a way to automate the process, so they are all exactly the same?
View 32 Replies
View Related
Jul 31, 2012
I don't know what went wrong with that View. I can create polygon planes properly in all views but top view.What can I do to make it function again when I set up the Project.this problem occurs everytime when I set up Image Planes for the top, side and front view. URL...
View 2 Replies
View Related
Aug 15, 2012
I have a batch program which I want to launch from a LISP program.
First this is an attempt at an automated process whereby user input is extremely restricted. Other than the first click of the mouse on the menu item to save a copy of the file to a very restricted folder, no other user input is allowed.
AutoCAD, like most commercial apps writes a temporary file and then renames it when you choose save or saveas. And due to the restrictions in this folder that will not work. Crazy, I know but it's the parameters I must work within.
The batch file I'm launching calls another batch program in it's execution and I'm wondering if that could be where control is lost. But the thing is I can type this at the command line in AutoCAD:
(startapp "//a_very_long/novell_server_path/my_folder/vlisp/mybatchfile.bat")
The whole process works great. The command window flashes briefly AutoCAD closes the active drawing window just like I want it to. And when I check that the dwg file has been copied to the restricted folder it's there and done. But when I place that same command within my LISP program or one like this:
(command "._STARTAPP" "CMD //a_very_long/novell_server_path/my_folder/vlisp/mybatchfile.bat")or(command "._STARTAPP" "CMD ""//a_very_long/novell_server_path/my_folder/vlisp/mybatchfile.bat"")
or just about anything else I try it fails to run. Perhaps I've been looking at this problem too long. I think I may move on to a VB.NET process to do this but I am really baffled why it will run from the command line but not within the program.
View 4 Replies
View Related
Nov 21, 2005
I really hate the "JPG Options" Dialog Box while I was doing a batch job of Autocolor + Duplicate Layer > Mode SofLight. Is there any way to disable that Dialog box , or saving the settings as default so it won't come again in future ?
View 7 Replies
View Related