AutoCAD VB :: Why Can't Zoom Or Pan When Form Is Active
Dec 20, 2012
When an macro of a Lisp is active I can zoom and pan in a drawing. I press Escape to quit.Why can't I do that when a form is active in vba? Is that only because Showmodal is on?
View 1 Replies
ADVERTISEMENT
Jul 29, 2013
I have an Ipart I would like to have a Ilogic form to change the active Ipart. I tried iPart.ChangeRow but I did something wrong and it doesn't work.
View 2 Replies
View Related
Oct 12, 2011
In my pc,video card supports openGL, and the openGL is available in performance menu, but the scrubby zoom does not active, and I cannot have a pan zoom ,how can I update the photoshop to remove the bug?
View 3 Replies
View Related
Mar 7, 2014
Since Edge only has rectangles and ellipses built in as available shapes, how to I/we work with polygon shapes and active mouseover areas INSIDE of these shapes and non-active mouseover areas OUTSIDE of the shapes?
Problem/symptom: when I import a polygon, be it any file format from from Photoshop or SVG from Illustrator, a rectangular border/background (transparent) gets applied, leading to this rectangle defining the mouseover area of the shape - and not the shape itself (be it a star or whatever).
WHAT I WANT: the very shape defines the mouseover area. How do I achieve this?? See examle below:
WHAT I DON'T WANT: how is is now:
View 4 Replies
View Related
Oct 8, 2012
One of the features I was really looking forward to in CS6 was creating fillable forms with ONE application. I created a form following the step by step instructions in classroom in a book for CS6. When I opened the exported form in Reader X, I get a "This operation is not permitted" error. I opened the completed "end" document in the lesson to make sure I didn't commit an error, and I got the same message when exporting. I have looked for places in menus to modify security restrictions and I can't find any. I installed the updates and that didn't solve the issue.
I saw one solution posted which is to open the document in Acrobat, then do a "save as" option. Is there anything we can do that doesn't involve buying additional software? If this is not the case, then Adobe seriously needs to change its training and advertising about this functionality.
View 11 Replies
View Related
Apr 10, 2013
I am working on a form (global) and have added a picture with a parameter and a picture folder underneath. So that the picture displayed on my form will change depending on the parameter value.Here comes the trick. Only text parameters can be used!On the form editor only 'Text parameter' can be selected to drive the picture selection. I actually need an integer, so that i can use my User/Excel parameters from Inventor.
I can work this around with an iLogic rule to equal the value of my string Picture Parameter with the relevant integer Inventor parameter, but the rules need to be run before the pic and the form updates (by pressing the 'Apply' button at the bottom of the form and then the assy updates too. So this takes a couple of minutes)... whereas if it was an option on the form editor then the update would be instant without waiting for everything to update...
Is there a particular reason why the Picture Parameter only can be a text parameter?
View 2 Replies
View Related
Feb 22, 2012
The AutoCAD doesn’t show the “intersect osnap” at certain zoom!
The “intersection osnap” between a “hatched rectangle” and a “DASHDOT2” line appears and disappears depending on the amount of zoom!
As I zoom out the “intersection osnap” appears but when I zoom in, it disappears
Why the "intersection Osnap" should disappear as I zoom in?
Software: AutoCAD 2014, AutoCAD C3D, AutoCAD M3D, Revit
Windows 7 (Ultimate 64 bits),
Firefox 20.0,
Kaspersky 2013.
View 2 Replies
View Related
Feb 27, 2013
I am working on getting some settings done, moving from 2008 to 2012. How do you set the Middle Mouse Button (wheel) to either Zoom All or Zoom Extents when you double click it? I thought it was set in the Main CUI file.
View 9 Replies
View Related
Jan 8, 2013
My keyboard has a zoom key with + and - selections. I use to use this key in drawings to zoom in and out when in the AutoCAD application when we had Windows XP. Now that I have Windows 7 I can't do this. I can't find out how to assign this key on the Microsoft Keyboard interactive software either. I have the other keys assigned as desired.
Can I still use my keyboard zoom key to zoom in and out in drawings? If so, how do I set this up in AutoCAD, or do I need to do this through a Microsoft keyboard application?
View 6 Replies
View Related
Apr 5, 2013
I am having problems with zoom, pan and rotate at high zoom level. The movements becoming jerky and delayed. But for whatever reason the problem exists in some assembly files and not in the others.
View 9 Replies
View Related
Sep 25, 2012
In this lesson we will consolidate code to prevent code reuse. Follow along as we demonstrate by doing the following and more:
Apply a color to a form command button, loop form controls, and save and get the color from registry
Part 2 of 7
cs_setInnerHtml('video_43f4e134-ee93-489d-ba2f-80042d243821','');
[URL]
View 2 Replies
View Related
Feb 15, 2006
I use Photoshop CS2 to create Designs for webpages. These designs have pixel-exact elements, e.g. a 1-pixel-line from top to bottom.
Now when I zoom in (>100, then I have sort of anti-alias, so that the 1-pixel-line isn't only one blue anymore, but it has different blue tones. I guess for photo manipulations etc. this anti-aliasing zoom is great, but for webdesign it sucks because I don't know if only the zoom make the line "corrupt" or if it really is corrupt.
Is there a way to change this zoom?
View 3 Replies
View Related
Feb 21, 2008
recently my zoom tool changed from default zoom in + to zoom out -
View 1 Replies
View Related
May 27, 2012
I can't find in new max (2013) settings for zoom. I want to set Zoom about mouse pointer and adjust a bit zoom speed (now it is too much for one mouse wheel step).
I can't find zoom settings in 3ds max 2013. Where they are? I think that in previous max it was in Customize -> Viewports tab. But now it is not there.
View 3 Replies
View Related
Feb 22, 2012
is there a way to have OSNAP active while not within a command?
I am using PointMonitor to display information based on the position of cursor, but the point is always in z=0 plane.
View 1 Replies
View Related
Dec 4, 2013
I encounter a problem that I do not understand. I created a little C# routine for Autocad Electrical (2011 and 2012) which adds some drawings to the current project with the following command:
(c:ace_add_dwg_to_project dwg2add paramlst)
This method works perfectly. With the parameter list you can set the Section, Sub-Section and Descriptions of the page properties, exactly what I want. When I start the routine, I check which project is active. If the wrong project is active, I activate the appropiate project with the following command:
(c:wd_makeproj_current wdpfnam)
So, when I want to add drawings to project A and project B is active at the start of the routine, I activate project A and the drawings are added. When I want to add drawings to project A and this project is already active, the drawings are not added to the project. The method mentioned above to add drawings returns nill, which means a failure.
Why is this happening? Is this a bug of Autocad?I already tried to always activate the project I want to add drawings to, but that doesn't matter.
View 1 Replies
View Related
Aug 29, 2013
I am trying to create a new UCS and then making it active. The new UCS coordinate is
Origin(0,0,0)
X direction(1.8963581, 0.36861467, 0.51763809)
Y direction(-0.190809, 0.98162718, 0.0)
View 9 Replies
View Related
Jul 13, 2012
For those of you struggling with viewport scale factors this list might prove beneficial.
Scale Factors – AutoCAD model space drawing using a paper space viewport.
Imperial (architectural)
12”=1’ 1xp
9”=1’ 3/4xp
6”=1’ 1/2xp
4”=1’ 1/3xp
[Code]....
Imperial (engineering)
1”=2000’ 1/24000xp
1”=1000’ 1/12000xp
1”=500’ 1/6000xp
1”=200’ 1/2400xp
[Code]....
Metric
1:5 1/5xp
1:10 1/10xp
1:20 1/20xp
1:30 1/30xp
[Code]...
How to use. Make viewport active. Invoke Zoom command, Scale option, press Enter, input nXP scale factor type, for example, 1/96xp then press Enter.
View 1 Replies
View Related
Apr 13, 2013
I think it's quite a lot of useless work to always select objects before or during a command, if you manipulate the same set of objects over a longer period of time. Say, as an architect I have a floor plan with a table and chairs. Now I want to copy, translate, rotate and scale the table with the chairs until they fit my floor plan. So I have to select the furniture, copy it, select it again, move it, select it again, rotate it, select it again and then scale it. Of course, there is the "previous" option, but is there a way of keeping a selection set active after the command so you just can go on to the next command without re-selecting the whole thing? My favoured workflow would be: Select the objects, copy them, move them, rotate them, then scale them. The objects should be active all the time and deactivated with ESC after the manipulation.
View 3 Replies
View Related
Nov 11, 2011
I want to convert active dwg file to jpg file. How to do ?
View 4 Replies
View Related
Sep 13, 2006
I have an active command that I want to cancel, how can I do this? Right now I'm working with 3dorbit, if that makes a difference.
View 6 Replies
View Related
Nov 15, 2012
using dwgDB.saveas on a drawing database that the user has open but NOT current on his screen?
For example, the user has DWG1 open and DWG2 open and currently active, my program modifies DWG1 (inactive) and when the program tries to run...
dwg1DB.SaveAs(filename, true, DwgVersion.Current, dwg1DB.SecurityParameters)
it errors with an elock violation, even though I lock the document with dwg1DOC.LockDocument before I try to save and unlock it after.
The same code runs fine on the current document so at this time I just ended making the other document current just to save it then switch back to previously current document.
What am I missing to save a document that is open but not current?
View 3 Replies
View Related
May 17, 2012
How to save active drawing file with filename..
View 9 Replies
View Related
Oct 18, 2012
I have several closed ployline shapes in a particular layer, I need to know a way to:
a) pick all the entites on that layer
b) export to a dxf file each individual entity on the layer (yes, each entity saved to a separate dxf)
I am almost positive I can answer 'a' on my own using an object collection and a conditional statement? I am really more interested in how to export an entity from current open drawing to a dxf file in .net
View 1 Replies
View Related
Feb 28, 2012
In the last couple of days civil3d has started not opening a drawing as the active drawing
View 1 Replies
View Related
Jan 24, 2013
How can I stop changing active document? I was thinking I could use this, but I don't know how to cancel it in the event handler:
AcadApp.DocumentManager.DocumentToBeActivated += new DocumentCollectionEventHandler(DocumentManager_DocumentToBeActivated);static void DocumentManager_DocumentToBeActivated(object sender, DocumentCollectionEventArgs e){ // Messagebox to ask if user are sure bool AreYouSureYouWantToChangeActiveFile = MessageBox.... if(!AreYouSureYouWantToChangeActiveFile) //cancel change active file somehow...???}
View 6 Replies
View Related
Jun 3, 2011
How to set or change the active display configuration with .NET. Currently I am sending this task to the command line. See below:
' This subroutine sets the correct display config with the supplied name Public Sub SetCurrentDisplayConfig(ByVal strDisplayConfig As String)Dim strCommand As String = "" strCommand = "-AECDISPLAYCONFIGSETCURRENT " & strDisplayConfig & vbCr AutoApp. Application. DocumentManager. MdiActiveDocument.SendStringToExecute(strCommand, True, False, False) End Sub
View 2 Replies
View Related
May 27, 2013
This error happened to us, when we tried to get the active layout from the acad document. We are using AutoCAD 2009 & C#.NET 4.0 Framework.
The error is as below:
Unable to cast COM object of type 'Autodesk.AutoCAD.Interop.Common.AcadLayoutClass' to interface type 'Autodesk.AutoCAD.Interop.Common.IAcadLayout'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{C6F55F5A-33AF-4B5F-9949-86C6AEEF1834}' failed due to the following error: No such interface supported (Exception from HRESULT: 0x80004002 (E_NOINTERFACE)).
The piece of snippet looks like the following
using Autodesk.AutoCAD.Interop.Common;
AcadApplication acadApp = (AcadApplication)Marshal.GetActiveObject("AutoCAD.Application");
AcadDocument acadDoc = acadApp.ActiveDocument;
//The following line throws the error as stated above
AcadLayout aLayout = (AcadLayout)acadDoc.ActiveLayout;
But it can be accessed if we change the property " Embed Interop Types " of DLLs (a) Autodesk.AutoCAD.Interop
(b) Stdole
from True to False
But again it throws the same error when we try to retrieve any methods from the retrieved AcadLayout. The whole application works fine with AutoCAD 2012 after re-referencing the DLLs.
View 1 Replies
View Related
Mar 23, 2009
I'm trying to set the active Layer filter. I tried myDB.LayerFilters.Root.Name = "Filter1" but it wouldn't work.
View 9 Replies
View Related
Jan 5, 2014
I would like to turn off all the existing layers in active document. I have found in developer's guide how to turn off one layer with specified layer name but can not apply it on all layers with any layername.
I tried to get all the Object ID's in layer table and then for each object turn layer off but seems that it does not work.
<CommandMethod("FilterLayers")> _Public Sub FilterLayers()'' Get the current document and databaseDim acDoc As Document = Application.DocumentManager.MdiActiveDocumentDim acCurDb As Database = acDoc.Database'' Start a transactionUsing acTrans As Transaction = acCurDb.TransactionManager.StartTransaction()'' Open the Layer table for readDim LayerTable As LayerTable = acTrans.GetObject(acCurDb.LayerTableId, OpenMode.ForRead)Dim LayerTableRecord As LayerTableRecord = acTrans.GetObject(LayerTable.ObjectId, OpenMode.ForWrite)For Each ObjectId In LayerTableLayerTableRecord.IsOff = TrueNext'' Save the changes and dispose of the transactionacTrans.Commit()End UsingEnd Sub
View 3 Replies
View Related
Sep 9, 2013
I`m looking for the code which will capture the active window similar to iProperties-->Save--> Capture
View 4 Replies
View Related