Methods of which I chose acToolbarDockFloating all nice but because floating hasn’t been saved in a workspace (yet) means that the toolbar is placed in the top left corner. To cut a series of tests and playing round with lisp and scripts and the likes I'm after a way of simply forcing the new toolbar in the dead centre of the screen using VBA.
I have googeld and the likes but cant find anything that resembles like
ObjToolbr.Dock acToolbarDockFloating 200, 200
(Presuming the location of the toolbar I want to force is 200 by 200)
In Civil 2013 is there a way to lock where you drag the tool bars? I work on dual screen and drag my properties and layers manager over to the second screen. Randomly they will jump back from the right screen to the left screen on program restart.
Also when I open the grading toolbar and drag it over to the right screen some commands, such as breaking a feature line, will cause it to jump back into the middle of the left screen right then.
Is there anyway to lock the toolbars to where they were dragged last?
Today I accidentally moved the toolbar. I watched the movie about customizing Xara, but I can't follow it. How to set it back to its default location (top of left edge).
I having used 3D modeling software and Auto-cad in the past, I know how to design complex models using the features provided in the tool-bars but I have never even heard about programming using things like VBA until randomly running into it on the internet.what exactly is the use of programming on software like auto-cad and solid-edge? I mean I understand it will change the part to a text file but what is the use? can you design/edit a 3D model using just programming? Do mechanical design engineers need to know this? (even if not I still want to learn but just need to know if it is compulsory) What is the latest/best programming language used for programming in design software because I heard VBA is slowing down.
I have a Epson Stylus Photo 1400( 6 color) printer. I would like to know if I can program the printer to use only 1 ink cartridge or the one I want to be use. Since I only use black ink for positives, I would like to replace all the cartridges with black ink and when one gets low I can switch to the next full cartridge.
I've tried to figure out the pattern of how the command works for inputting partial customization menu toolbar names but I'm unsuccessful.
You should be able to show and hide partial customization menu toolbars with the -toolbar command because it can hide all toolbars including my partial customization menu toolbars currently shown. I've tried the toolbar menu alias (defined in the CUI command) and the name (refer to this link to the same image embedded below) and none work.
I've been working on a drawing that requires me to take .dwg files of 3D equipment and place them into my one drawing for general arrangement purposes. I used it once before but now I'm having a slight issue when I use the flatshot command. I seem to remember Flatshot making my new 2d block at the same coordinates as the existing model and that it would be at zero in the Zed axis (x,y,0). My block now appears and various locations, even when i specify coordinates or basepoint it can be off by a good amount. Is there an option that I'm forgetting or something, so I dont have to manaully move my block back to the desired coordinates?
This isn't a major problem since I can manually match the block back up with the coordinates my model is at and then move it to x,y,0 but I feel like theres a way to ensure I dont have to worry about doing that at all.
Our company is using 2012Lt and has a couple (3) regular templates we use. The problem is I have to keep going back to the templates and clean them out (txt styles, layers, etc) and what I suspect is happening is that someone starts a new dwg does some work and the auto save kicks in before they "save as".
Question, is there a way to force someone to "Save As' immediately after they start a new dwg?
How does one programmatically set the command line to have keyboard focus?
I'm programmatically setting an active/focused PaletteSet's visibility to false.
_paletteSet.Visible = false;
I would like to follow this line with code that sets the command line to receive focus.
The PaletteSet for other reasons has KeepFocus = true.
I've tried various Win32 APIs (SwitchToThisWindow, SetForegroundWindow, SetActiveWindow) to no avail. I also tried SendCommand() and SendStringToExecute(activate=true,..) , etc.
I imagine there's a way to do this with the native APIs.
I have a bunch of drawings for which I have to reload the linetypes (they have to be redefined, for example pneumatic line has a new definition but the drawing has an older one). Is there a way other than rename the old linetypes, then load the newer version, then iterate through all objects and change the linetype to the newer version?
I want to force a saveas from an external app using code as below:-
If OApp.Ready Then Try Call oDoc.SaveAs(File_Full_Name, True) ......
However, Inventor invariably crashes at this point - especially if panning a model. Is there a way I can either lock Inventor from the user whilst the save is happening or check that no mouse or keyboard activity is in use?
I have tried monitoring the status bar text for "Ready" but tihs is unreliable.
I have a issu when i use BindXRef. I have 4 XREF in my dwg. so i use à Do / While for each XREF i have found. It work fine but whrn the Xref is big File, i have the issue "Out Of memory".
So the question : How i can Force the GC to clear all memory not used. My Think is to force the GC to Clear the memory before to use BindXRef() with only one XRef before to BindXRef with another.
Here my code :
Dim LockDoc As DocumentLock = doc.LockDocument Dim MemNumBoucle As Integer = -1 Dim CollXRef As New ObjectIdCollection Do CollXRef.Clear() Dim xg As XrefGraph = db.GetHostDwgXrefGraph(True) Dim root As GraphNode = xg.RootNode Using tr As Transaction = db.TransactionManager.StartTransaction For o = 0 To root.NumOut - 1 Step 1 Dim child As [Code]......
In this example i cant BindXREf ('R+1') alone. I need to BindXRef('ARCHI') before
If there is a way to force the dimension of a line or circle or anything.
For example: If I draw a line and dimension it, it will dimension it to 2.973 let's say, but if I want to change the dimension or the line to 3.300, how would I do that?
Also, after you create a 2D drawing, is there a way to make it a 3D model or extrude the model?
How to force the text to move in a particular direction as the “annotation scale” changes?
I wanted to force the text to move in a particular direction as the “annotation scale” changes but sounds not to respond. I tried to play with the “justify” but seems not to have an effect!
How to control this movement direction of the text as the annotation scale changes?
When I click the Force command in the LOADS panel when doing a Frame Analysis, I don't get a dialog box. All I get is a select origin box with an arrow. There is no way to change the Magnitude value or the Angle of Plane as per instructions in the tutorial. I have tried numerous ways to get a dialog box to appear, but I can't find out how. why I am not getting a Dialog box?
I am wanting to use pressure pipes for force main. If you do how do you add an air release manhole? I tried to use an appurtenance part as an air release manhole. If I set the plan display to use a block it skews the block. For the appurtenance part I do not see that the pipe inverts are available for the pipe label. I thought pressure pipes would be for water mains and force mains. So, I am wondering what others do for Force main Pipes?
I have created an acad.lsp file in where I want to arrange all our company settings. I've stored it on the network to make sure everyone will use the same one and when updates take place I don't have to run past all pc's to change it. I've set everything in the deployment package but users can still change it when they reset their profile. Plus some pc's are already installed with AutoCAD before creating the lisp routine, how can I enforce the support directory to check on the network for the acad.lsp each time?
I have a question regarding adding a force constraint in the Inventor frame analysis environment. When I add the fixed constraint to the beam the orientation indicator is incorrect - the square indicator being not parallel to the base of the beam. I would like to know why this is and as I am relatively new to frame analysis if I am doing something wrong. I have attached a screen shot of the placement of the constraint on the beam.
Autodesk Inventor Professional 2013 SP2 64-Bit Edition Windows 7 HP Z400, Intel Xeon W3550 3.07GHz 12.0GB RAM, ATI FirePro V4800 (FireGL)
after a bindXref i save the dwg in a path 'Archive' but if the file already exist i demand the user if i cant erase the dwg in archive before write my dwg. I want to force the user to close the dwg without save if the reponse is 'No'. (The function have BindXref so the dwg do not save this). No save only for this dwg not the other already open (I not know how to use event so.. and my DLL is not loading on the launch of autocad)
I'm designing a hinged cover for something right now that will use a pair of gas extension springs for assisted opening. I'm currently working to figure out how much force it will take to open the cover using different values of spring - it's available in 50, 100, 150, 200, etc., lb versions.
I've tried running simulations using a force applied to the moving end of the gas spring, and I've trued running simulations using a spring joint applied between the fixed and and the moving end of the gas spring, and I'm getting dramatically different results between the two. For instance, using a 200 lb force shows me that I need about 25 extra lbs of force applied to the handle of the cover to open it, where when I use that same 200 lbs on a spring joint, I need 50-75 lbs to keep the cover closed, because it will open on its own.
I am working on a complex industrial site. And I would like a constant grade of 3.00% from my road intersections to the edge of curves. I know if I used a corridor, I'd be able to tell the grading to project ot the edge of the road/curve.
I'm just wondering if I can tell a grading object to project to a polyline or feature line along a intersection curve? There are many reasons as to why I'm not using corridors for this project, but I don't want to get into that.
I'd like to show feet/inches with arch units even when i have a whole number measurement. right now the dim for 16' shows as 16' only. i want it to show as 16'-0"