Quantcast
Channel: Autodesk AutoCAD forums
Viewing all 14319 articles
Browse latest View live

Can I copy line numbers along with code in Visual Studio?

$
0
0

I need often to copy and paste a block of code to send it to a colleague, is there a way to copy lines numbers along with the code?


hatch spacing too dense - from tool palette only

$
0
0

I have a custom hatch pattern that works fine, but when launched/imported from the tool palette I get the "Hatch spacing too dense, or dash size too small." response.

 

The pattern is drawn to scale annotatively, so is initally quite dense as you cannot preselect annotative scaling on hatches in the tool palette (this is irritating in itself), but this isn't a problem unless launched from the tool palette.  If I set the scale of the hatch to 1.65 it will work, but below that I get the error.

 

pat files attached for reference.

 

Any ideas on how I can fix this - I don't really want to go down the (Setenv "MaxHatch" ....) route, as these palettes are being rolled out to Autocad and LT users, and I don't know if LT users can do (setenv.. ) commands.  Likewise I'd prefer not to have one patch importing at a different scale..

 

Cheers..

 

G

Manipulating OLE objects using VBA

$
0
0

I'm trying to make a routine that copies a table in excel and then pastes it on a layout on Autocad. Afterwards I want to obtain it's size and resize it according to the space I have. The first part of the routine is working but I'm having difficulties obtaining the Width and Height and resizing the object. How can I do this?

 

 

Insert Problems

$
0
0

On some drawings it is impossible to Insert or Paste objects / text / etc. and others it is perfectly fine. For the drawings which are problematic, when typing Insert the object(s) appear on screen; however, it disappears once the insertion points have been inputted. 

 

This has nothing to do with simple layers being switched OFF or frozen, nor does it have anything to do with scales. This is simply puzzling me and it doesn't seem so simple to resolve. Even when you zoom out the program doesn't register any new object(s).

 

If anyone has had this problem and was able to resolve it, please share.


Dan

One layer is invisible only when during 2d wireframe view

$
0
0

I can see the layer in all the other views except 2d wireframe. I can see it in 2d wireframe while using the orbit command.

Double click mouse wheel and everything disappears

$
0
0

Everything disappears when I attempt to zoom out to extents, including the curser, zoom wheel and origin symbol. I attempted to find any object that may have snapped a distance away from the other parts but I am unable to find anything, I can't even get a grip to show up. I did manage to isolate it to which layer is associated with it, but thats about it.

Sketchbook Pro for iPad

$
0
0

Hi there,

 

My appologies if this is no he right place to post this. All these forums are always a real maze. I already contacted some Autocad resellers who pushed me here and there...

 

Sometimes ago I purchased SketchBook Pro for iPad. Currently it seems that this version is not anymore for sale on Apps Store hence not supported

There still Sketchbook Express and a new one called Autocad SketchBook with in app purchase.

My question is: " should I download this Autocad SketchBook and purchase again the pro add-ons to ensure that I'll benefit of future upgrade/update and bugs fix?"

It is writen somewhere that former customers got a coupon code to get this pro add on for free but since I purchased the inital SketchBook Pro I've change my email account linked to my iTunes hence whether as was informed or not I can't guess...

 

Who can help?

What s the process?

Who should I contact?

 

Many thanks to the helpers

Rob

Edit Cell Range in Excel Data Link Table

$
0
0

Is there anyway to edit the cell range of an excel data link table after it's been inserted?

 

Fyi, the only way I could get the table in correctly (in order to have the header repeat) was to create a standard blank table first, select the first cell and import data link through there (I read how to do this on the forums, since that is not an intuitive task).

 

It'd be really nice if I could just recall the dialogue box "Modify Excel Link: "...", and just simply update the cell range (image attached).

 

From what I can tell my only option is to delete the table and reinsert.  This is very combersume, since I have to modify the table height and width everytime after it's reinserted.

 

The table is just a simple drawing list, so there are no formulas or special formating.

 

Thanks,

Rebecca

AutoCAD 2014

Windows 7


2015 - 2016 crash when selecting options

$
0
0

I have searched this forum and have found an old link to potential fixes to this but its not resolving the problem.

Clean install of Autocad 2016 or 2015

Start up first time use

new drawing (Any template selected)

File> Options (Big A dispears top left)

Screen freezes, i can do nothing in the cad window, no cursor, i have tried signing out of all Autodesk products (360 etc) and have tried Alt+space+M and arrow keys to find if its an off screen item but nothing.

Task manager displays it as Not Responding

I have done repair and reinstall and a full removal and reinstall using the download manager for fresh install files.

Please help...i have 8 users stuck without being able to access their options.

 

Thanks

Seeking recommendations for creating a custom "help" interface

$
0
0

I have gotten to a point in development where I have created enough custom tools and commands where it is now too difficult to document for end users via PDFs.

 

I wanted to get an idea of how any of you handle this.  My best plan so far is to create a web application with ASP.Net which closely resembles the AutoCAD "help" interface.  Is this a good approach or are there better options?  Does Autodesk provide any useful templates or API to assist developers in this area?

 

Thanks,

Jeff

Detroit, MI

Download AutoCad LT 2009 Link

$
0
0

Some how we have missed the installer CD for Autocad LT 2009 -32 Bit, Can someonle please provide the other way to download it online.

How to load the ARX before click the dwg!

$
0
0

Double click the encrypted dwg before start the CAD application,  the ARX application is not loaded.The encrypted dwg will Suggest to add password.

 

 

So, the encrypted dwg is readed before load the ARX.

But,if the CAD application is opened before click the encrypted dwg file,  the user don't need to input password  through the program.I know how to enter a password in advance.

 

I want to double click a encrypted dwg before start the CAD application. If the CAD application load the ARX before read the encrypted  dwg file,  the file  opened successfully.

compatibility with vista/windows 7?

autocad 2004 and 2006 blocking on windows 10

$
0
0

Hallo , we were obligated to upgrade our windows to windows 10 , and ours autocad 2004 and autocad 2006 doesn't work correctly , we instaled the program using xp sp 3 compatibility mode the programs start but when we try  to open a file the program stop working , when we tried to insert a image the program stop working , when we tried to insert a block the program stops working . Do someone have a solution to our issues ? we have 2 autocad 2004 et one 2006 and for what we do they are sufficient also an upgrade is to expensive for us .

Thank you 

Burst or explode a block in vb.net and retain text attributes

$
0
0

Dear Community,

 

Overview:

 

I would like to explode or burst all blocks using VB.net (Visual Studio 2015) in either AutoCAD 2014 or AutoCAD 2015.

 

At the moment the "explode" command reverts all the text elements to their tag names and any repositioning of elements within a block, after it was inserted, is lost.

Effectively it gives you current saved block definition and you lose all the custom attributes entered when you insert the block. The "burst" command does not appear to be available as a method from vb.net although it may be possible through the "SendCommand" and performing a "BURST" on the current selected object.

But this would mean selecting the object in the drawing and this I cannot get to work.

A minor issue with the "BURST" command is it seems to default some of the "Line Types" to layer 0.

 

I have looked at "SelectionSets" for a document, but it is not clear how you add an object to a selection set.

 

Questions:

 

  1. Is there a method of doing a "BURST" using vb.net and retain all the attributes?
  2. Can a selection set be used by the "SendCommand" function?

 

Many thanks for any help you can offer.

 

Sample Code :

 

Imports AutoCAD
Module Module1
 Dim AcadApp As AcadApplication
 Dim acadDoc As AcadDocument
 Dim acadDb As AcadDatabase
 Dim acadEditor As AcadObject
 Dim acadPref As AcadPreferences
 Dim acadxref As AcadBlockReference
 Dim objEntity As AcadEntity
 Dim objLayer As AcadLayer
 Dim objText As AcadText
 Dim objNewLayer As Object
 Dim txtSearch As String
 Dim intTextEntities As Integer
 Dim intMatch As Integer
 Dim blnFound As Boolean

 

Public Sub convert()

 

On Error Resume Next

 

Debug.Print("Start: " & Date.Now())
AcadApp = GetObject(, "AutoCAD.Application")

 

If Err().Number Then
    AcadApp = CreateObject("AutoCAD.Application", vbNullString)
End If

 

acadPref = AcadApp.Preferences
AcadApp.Documents.Open("C:\temp\BlockTest.dwg", False)

AcadApp.Visible = True
acadDoc = AcadApp.ActiveDocument
acadDb = acadDoc.Database

 

Debug.Print("Blocks: " & acadDb.Blocks.Count)

 

For Each acadBlocks In acadDb.Blocks

    Debug.Print("Block Name: " & acadBlocks.Name())
Next

 

Debug.Print("Objects in ModelSpace: " & acadDb.ModelSpace.Count())
For Each mspaceObj In acadDb.ModelSpace
    If TypeOf (mspaceObj) Is AcadBlockReference Then
    'burstObject(mspaceObj)
End If
Next

 

acadDoc.SaveAs("C:\temp\BlockTest_burst.dwg")
acadDoc.Close()
AcadApp.Quit()
AcadApp = Nothing

 

End Sub

 

End Module

 

'Dim ss As AcadSelectionSet

'With acadDoc.SelectionSets
'   While .Count > 0
'        .Item(0).Delete()
'    End While
'    ss = .Add("$DynBlocks$")
'End With

 

'If TypeOf (mspaceObj) Is AcadBlockReference Then
'If mspaceObj.HasAttributes = True Then
'Debug.Print(mspaceObj.Name)
'Debug.Print("====================")
'varAttributes = mspaceObj.GetAttributes
'For n = 0 To UBound(varAttributes)
'If checkProperty(varAttributes(n), "Invisible") Then
'If varAttributes(n).Invisible = False Then
'varAttributes(n).TagString = ""
'End If
'End If
'Debug.Print(varAttributes(n).TagString & " - " &
'varAttributes(n).TextString & " - " &
'varAttributes(n).Invisible)
'Next
''sset = acadDoc.SelectionSets.Add("SS1")
''Set sset = ThisDrawing.SelectionSets.Add("SS1")
''sset.AddItems(mspaceObj)
'' Prompt the user to select objects
'' and add them to the selection set.
'' To finish selecting, press ENTER.
''sset.SelectOnScreen()
''mspaceObj.Selected()
''acadDoc.SendCommand("BURST " & vbCr)
'explodedObjects = mspaceObj.Explode()
''mspaceObj.Delete()
'For n = UBound(explodedObjects) To 0 Step -1
'ObjDel = False
'If explodedObjects(n).EntityName = "AcDbAttributeDefinition" Then
'If explodedObjects(n).Invisible = True Or explodedObjects(n).TextString = "" Then
'explodedObjects(n).Delete()
'ObjDel = True
'End If
'End If
'If ObjDel = False Then
'If explodedObjects(n).Layer = 0 Then
'explodedObjects(n).Layer = mspaceObj.Layer.ToString
'End If
'End If
'Next
'mspaceObj.Delete()
'End If

'End If

 

 


fatal error unhandled access violation writing 0x0000 exception at 0h

$
0
0

i use autocad 2010 with windows10, i never get any problem before. but, yesterday when i want to open autocad suddenly its getting fatal error like this "fatal error unhandled access violation writing 0x0000 exception at 0h". i try to uninstall it and then install it again. but it still be the same. then i try to install autocad 2012 but i got the same result , "fatal error unhandled access violation writing 0x0000 exception at 0h"

how can i solve this problem?

thanks before.

This Ploter Configuration cannot be used - HP Designjet 4520

$
0
0

Installed AutoCAD 2016 on Windows 10 but get error when trying to print to HP Designjet plotter.

Have installed lates latest HP drivers to no avail.

Error message:

AutoCAD Warning

None: This plotter configuration cannont be used for one of these reasons: the driver cannot be found, the device cannot be found, or the driver has a problem. The None plot device has been substituted.

 

Change dimensions...

$
0
0

Hello,

 

I have made a drawing and added dimensions to the drawing.

The dimensions are in CM but I want to change them to MM.

How do I do this, hate not to figure something so simple put my self but Im getting frustrated... :/

 

Thanks for any help!

 

Skärmavbild 2016-01-06 kl. 13.37.14.png

CANNOT DOWNLOAD AUTOCAD

$
0
0

Hello Autodesk,

I am a civil engineer and I'm trying to download Autocad (Civil 3D/Architecture) for the last one month. I tried all methods such as browser download, Install now and download now, but every time I cannot get it. The download is failing every time and I am disappointed by your service. I tried to download Autocad, Autocad architecture and Autocad Civil 3D (2015/2016) versions, but your service let me down.

I am disappointed that after meeting all requirements for this software, my laptop cannot have the luxury of Autocad(any version and type). It is getting failed at the last moments in browser download and doesn't performing well in other download methods. Can you please help me? I am ready to cooperate with you!

Aarundh

AutoCAD 2016 not opening after windows 10 update

$
0
0

Autocad 2016 won't open (neither by opening the program nor by opening a dwg file). The program will only open and get stuck in the loading process (see image attached)

This started just after a Windows 10 update on the 5th Jan 2016 (it worked perfectly on Windows 10 untill now).

After the update, when I turned on my computer, I would get an error message: msvcp110.dll and msvcr110.dll files missing. Not sure if that has something to do. However I managed to reinstall these, the message doesn't appear anymore but AutoCad still won't open.

I use Windows 10 64bits

 

Anyone in the same situation?

 

Any solutions?

Viewing all 14319 articles
Browse latest View live