+ Post New Thread
Page 1 of 33 1 2 3 11 ... LastLast
Threads 1 to 25 of 821

Forum: .NET, ObjectARX & VBA

Use this forum to discuss all application interfaces (APIs) other than LISP.

  1. FAQ Article Sticky Thread Sticky: Code Posting Guidelines

    Code posting guidelines When you are posting AutoLISP or VBA code in these forums, there are some simple guidellines you should observe in order to make life easier for you and for others. ...

    Started by CADTutor‎, 2nd Jul 2010 09:01 am
    • Replies: 0
    • Views: 5,243
    2nd Jul 2010 09:01 am Go to last post
  1. Creating Datalink with VBA

    Hello everyone, i am trying to create datalinks with VBA so after that i can go to autocad and insert the tables. i've found some information on internet but was no success there. can anyone show...

    Started by piscopatos‎, 1st Jul 2015 09:57 pm
    • Replies: 0
    • Views: 110
    1st Jul 2015 09:57 pm Go to last post
  2. Excel to Autocad insert Attribute Block

    Hi friends, I found a VBA code from the internet. Code blocks according to the positioning coordinates in AutoCAD. code is working but for simple block. I wanted change for attribute block but I...

    Started by witchhero‎, 6th Jun 2015 05:50 am
    • Replies: 6
    • Views: 552
    30th Jun 2015 10:00 pm Go to last post
  3. AutoCAD.Net Reference files & moving projects

    Is it possible to place Autodesk reference files (ACMgd.dll, AcCoremgd.dll, etc) into your custom folder in my net project folder and map it in Visual Studio (C# or VB.net) so a person can move the ...

    Started by muck‎, 29th Jun 2015 01:27 pm
    • Replies: 1
    • Views: 184
    29th Jun 2015 03:20 pm Go to last post
  4. VBA Line Intersection 2 Lines and Circle

    Hi, I'm trying to write a function in VBA that calculates the shortest continuous line that bisects 2 lines and a circle between them. I can calculate the line lengths and the included angle in...

    Started by gerrymott‎, 28th Jun 2015 02:14 pm
    • Replies: 1
    • Views: 242
    29th Jun 2015 04:09 am Go to last post
  5. Create Leader in UCS

    Hi there; I am trying to write a plug-in which can create a leader (while you are in UCS) with WCS coordinates text. This is what I did so far: <CommandMethod("AddLeaderAnnotation")> _ ...

    Started by kunekainen‎, 16th Jun 2015 08:07 am
    • Replies: 0
    • Views: 377
    16th Jun 2015 08:07 am Go to last post
  6. VBA Data Extraction to Excel-Sheet (DATAEXTRACTION; EATTEXT)

    Hi, I need to extract Information ("General": Color, etc. and "Geometry": Length, Start Y, End X, etc.") from AutoCAD to an Excel-Sheet using VBA. First I've tried it manually in AutoCAD...

    Started by vjdazam‎, 12th Jun 2015 03:44 pm
    dataextraction, eattext, excel, extract, vba
    • Replies: 0
    • Views: 259
    12th Jun 2015 03:44 pm Go to last post
  7. C# Drawing file write protection errors when saving drawing.

    The following batch loop will work for as far as pulling up a group of drawings and saving them when the sample routine "public static void AddCircle()" is flagged out. When I try to make drawing...

    Started by muck‎, 8th Jun 2015 01:20 pm
    • Replies: 5
    • Views: 333
    10th Jun 2015 12:42 pm Go to last post
  8. PromptKeywordOptions and underscore

    Hi folks My target was to do a little routine that creates layouts for the views and sets page setups for these layouts. Name of the page setup is asked from the user before making the layouts and...

    Started by woolsock‎, 9th Jun 2015 04:33 am
    promptkeywordoptions, special characters, underscore
    • Replies: 1
    • Views: 158
    10th Jun 2015 04:22 am Go to last post
  9. Thumbnail Preview from memory

    Hi, I want to create a drawing in memory and then display it as preview, to show the user how the dwg would look. Is it possible? Thanks

    Started by cadprog‎, 4th Jun 2015 10:17 am
    2 Pages
    1 2
    • Replies: 13
    • Views: 483
    9th Jun 2015 09:39 am Go to last post
  10. Create selectionset module to and using it in another module

    I need to module 1 to selectionset and module2 to use selection set. Module1:Public Function CreateSelectionSet1(Optional ssName As String = "ss") As AcadSelectionSet Dim ss As...

    Started by magnus2005‎, 7th Jun 2015 12:59 pm
    • Replies: 0
    • Views: 172
    7th Jun 2015 12:59 pm Go to last post
  11. GetDistAtPoint and einvalidinput error

    Hi there; I'm trying to find distance of a specified point on a 3d polyline with "getdistatpoint" function. sometimes it works properly but sometimes it gives einvalidinput error. I searched...

    Started by kunekainen‎, 6th Jun 2015 11:01 pm
    • Replies: 0
    • Views: 184
    6th Jun 2015 11:01 pm Go to last post
  12. Excel VBA insert Tag block value

    hello everyone I have an excel sheet in which the columns are divided in this way A = X axis B = Y axis C = Z axis D = Block Name E = Scale X F = Scale Y G = Z Scale H = rotation angle

    Started by blintz‎, 21st Dec 2014 09:33 am
    • Replies: 5
    • Views: 887
    6th Jun 2015 07:48 am Go to last post
  13. Making AutoCAD C# Variables public in a form.

    I have the statement. Document acDoc = Autodesk.AutoCAD.ApplicationServices.Application.DocumentManager.MdiActiveDocument; in a form routine. I would like to be able to use acDoc in all my...

    Started by muck‎, 3rd Jun 2015 06:17 pm
    • Replies: 3
    • Views: 242
    3rd Jun 2015 10:02 pm Go to last post
  14. VBA Electrical Single Line Diagram linked via excel

    Hi, I have an electrical load schedule excel format. are there any VBA to automatically create a single line diagram to cad using only the datas from the excel file i have.

    Started by franchew‎, 17th May 2011 05:38 am
    • Replies: 3
    • Views: 3,282
    1st Jun 2015 07:37 pm Go to last post
  15. sld network

    Hi, I would like to create a load network using slide files (.sld) in C#. This would be displayed in a form. I would like to get some guidance on this. Please help. Thanks

    Started by cadprog‎, 1st Jun 2015 10:52 am
    • Replies: 0
    • Views: 189
    1st Jun 2015 10:52 am Go to last post
  16. Visual Basic 2013 & AutoCAD 2015

    I wrote a couple of VB applications a few years ago using VB 2008 express and Acad 2012 if memory serves. I am trying to get back into it using VB 2013 express and Acad 2015, but I am not having much...

    Started by kduck63‎, 24th May 2015 01:57 pm
    • Replies: 5
    • Views: 767
    26th May 2015 04:13 pm Go to last post
  17. Block insert without changing View

    Hi All, I am new here and currently working on a addin related to AutoCAD 2010 prototype. I am working on modelspace not on Layout or paperspace I have 3D wireframe drawings which is a block...

    Started by santoshr0114‎, 25th May 2015 08:25 am
    blocks, modelspace, views
    • Replies: 0
    • Views: 193
    25th May 2015 08:25 am Go to last post
  18. Smile getting point coordinate from autocad to excel

    hello evryone , i'm looking to make a VBA code to get a setected coordinate point (x,y and Z) directly to excel sheet . thank you for your help :)

    Started by mido‎, 20th May 2015 11:16 am
    autocad, excel, vba
    • Replies: 0
    • Views: 599
    20th May 2015 11:16 am Go to last post
  19. VBA: select block with with the insert point coördinates

    Hello, I want to select a block inside VBA. I know the x-y-z coördinates of the insertion point of the block. I also know the block name. I can select all the blocks with that name in the...

    Started by pjotrki‎, 13th May 2015 07:40 am
    vba select block
    • Replies: 2
    • Views: 1,439
    14th May 2015 06:42 am Go to last post
  20. VBA code for length of selected line

    Hi all, I need a VBA code for finding the length of a selected line/polyline.. i have the code for selectonscreen and for length again object.length can be used but somehow i m not being...

    Started by priyanka_mehta‎, 12th Dec 2008 06:08 am
    2 Pages
    1 2
    • Replies: 16
    • Views: 10,035
    11th May 2015 02:41 am Go to last post
  21. vb.net code for autocad help me please

    i want a vb.net code in which user selects multiple lines,polyline,etc and using code we get the count of selected entity and its length.... thank you in advance....:):)

    Started by akash117‎, 11th May 2015 02:27 am
    • Replies: 0
    • Views: 240
    11th May 2015 02:27 am Go to last post
  22. Drawing is Busy Error saving & closing a drawing with C sharp

    Does anyone have example code that saves a current drawing and then closes AutoCAD documents? I have tryed to use CloseAndDiscard or CloseAndSave and they give Drawing Busy errors. I am...

    Started by muck‎, 29th Apr 2015 01:17 pm
    • Replies: 1
    • Views: 410
    6th May 2015 01:20 pm Go to last post
  23. Excel VBA

    I have a spreadsheet that has a userform that starts as soon as the workbook is opened. When I paste my spreadsheet as a link into autocad it launches that startup form and it causes autocad to...

    Started by jonathann3891‎, 6th May 2015 06:11 am
    • Replies: 0
    • Views: 249
    6th May 2015 06:11 am Go to last post
  24. Smile Problem with AutoCAD VBA creating named range in ecxell work bork

    I want tho create a named rangein excel from autocad. I can not call the workbook.names.add method and pass the arguments. This works from within Excel VBA but not from within AutoCad VBA. I am...

    Started by pjotrki‎, 1st May 2015 01:04 pm
    • Replies: 0
    • Views: 319
    1st May 2015 01:04 pm Go to last post
  25. using the if statement

    Good Day all, I am using the if statement in VBA: If i < Num then but the code in the if block executes even though the condition is not met. Can anyone explain this situation

    Started by greneebb‎, 18th Apr 2015 03:25 am
    • Replies: 3
    • Views: 640
    20th Apr 2015 02:06 pm Go to last post

Thread Display Options

Use this control to limit the display of threads to those newer than the specified time frame.

Allows you to choose the data by which the thread list will be sorted.

Order threads in...

Note: when sorting by date, 'descending order' will show the newest results first.

Icon Legend

Contains unread posts
Contains unread posts
Contains no unread posts
Contains no unread posts
More than 15 replies or 250 views
Hot thread with unread posts
More than 15 replies or 250 views
Hot thread with no unread posts
Closed Thread
Thread is closed
Thread Contains a Message Written By You
You have posted in this thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts