+ Post New Thread
Page 1 of 35 1 2 3 11 ... LastLast
Threads 1 to 25 of 859

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,813
    2nd Jul 2010 09:01 am Go to last post
  1. A dvb not working in 2016

    The following code was working fine and I am not sure why it is not now. It gives an error here, I am not a VBA expert know enough to get into trouble. If ThisDrawing.ActiveSpace = acModelSpace...

    Started by BIGAL‎, 5th Feb 2016 03:38 am
    • Replies: 4
    • Views: 269
    5th Feb 2016 11:09 pm Go to last post
  2. Accessing Advance Steel object properties

    Hi All, Has anyone done any development work with obtaining Advance Steel entity properties when the entities are opened in AutoCAD or Plant 3D? In the past I have written code that extracted...

    Started by ColinHolloway‎, 1st Feb 2016 05:48 am
    • Replies: 3
    • Views: 302
    3rd Feb 2016 09:31 am Go to last post
  3. C# and autocad lt

    I have a computer with autocad lt 2009. I have worked with c# previously and started 2 weeks ago with lisp. But lisp isn't compatible with that computer. So the question is, is c# compatible with...

    Started by CesarA‎, 22nd Jan 2016 04:39 pm
    • Replies: 9
    • Views: 421
    23rd Jan 2016 03:39 am Go to last post
  4. VBA Macro Runs but does not execute actions

    Hi All, I've finally started coding up my own VBA macro that batch creates drawings and attaches Xref, Sets Layer States etc. The issue i'm finding though is that if I run the script after...

    Started by Argo‎, 13th Jan 2016 03:15 am
    • Replies: 3
    • Views: 383
    22nd Jan 2016 05:07 am Go to last post
  5. Set Custom paper size using DWG to PDF, VBA, AutoCAD

    Hello, I spend a lot of time to find idea how to set paper custom size. i.e. I have drawing, and I want to print it. Drawing in layout has 920mm x 875mm. My plotter has defined this size but I want...

    Started by magnus2005‎, 19th Jan 2016 03:25 pm
    custom, paper, size
    • Replies: 1
    • Views: 268
    20th Jan 2016 03:43 am Go to last post
  6. ActiveX Api- Copy Page Setup from Template - not working for Publish

    I am building a standalone application in VB.Net to create drawing in AutoCAD 2012 using the COM ActiveX API. I am copying page setups from a template drawing to the drawing I create that has...

    Started by mchernecki‎, 4th Jan 2016 06:37 pm
    • Replies: 3
    • Views: 339
    4th Jan 2016 11:01 pm Go to last post
  7. apply vba to subentities of block

    i have a vba macro which used to apply bylayer color to the bylayer colored objects but it didn't apply for blocks sub entities i wish some one can modify the vba code to be applied to blocks and...

    Started by handasa‎, 31st Dec 2015 10:47 pm
    • Replies: 0
    • Views: 220
    31st Dec 2015 10:47 pm Go to last post
  8. UCS coordinate of object

    Hi, I have many blocks in my drawing. I try to take all attributes and coordinates (insertionpoints) of these blocks to excel. When I run the macro, it wrote their WCS coordinates. Is it possible to...

    Started by habakay‎, 26th Dec 2015 08:29 pm
    • Replies: 2
    • Views: 298
    26th Dec 2015 10:01 pm Go to last post
  9. On Python for autocad

    Hi I am seeking “partners” on studing python for autocad I am a mechanical designer, an (italian) autocad user. Until a few years ago I programmed in lisp, but then I have used VBA. Now...

    Started by elmasea‎, 1st Jun 2010 08:03 pm
    • Replies: 7
    • Views: 7,689
    22nd Dec 2015 08:36 pm Go to last post
  10. Block Attributes to Text Error

    I try to add Text object at the same point with Block object. But it gave an error at red line below. Error Code is; Run-time error '5': Invalid prosedure call or argument Sub...

    Started by habakay‎, 18th Dec 2015 02:29 pm
    • Replies: 1
    • Views: 310
    19th Dec 2015 09:59 am Go to last post
  11. VBA to draw rectangles from table data

    Hi, Is there a way to generate rectangles based of the information on table. Example: Each row of would table have length, width and name information. CAD should be able to read these values...

    Started by ndcoutho‎, 16th Dec 2015 04:33 pm
    auto cad, programming, vba autocad, vba programming
    • Replies: 1
    • Views: 312
    17th Dec 2015 09:44 am Go to last post
  12. Debugging Troubles

    Has anyone else ever seen anything like this: I have an automated project that uses C#.NET to launch AutoCAD, load a LISP program and run it to prepare a drawing. When this project runs the LISP...

    Started by Bill Tillman‎, 15th Dec 2015 06:30 pm
    • Replies: 4
    • Views: 338
    16th Dec 2015 12:47 am Go to last post
  13. Exclamation VBA - Command Fillet on 2 single Polyline does not work!

    I met a very "strange" behavior of VBA with Fillet Command send via ThisDrawing.SendCommand function. I have the function Fillet_2Line (line1, line2, r), which will apply the Fillet command to...

    Started by khoinp1012‎, 14th Dec 2015 04:44 am
    • Replies: 0
    • Views: 241
    14th Dec 2015 04:44 am Go to last post
  14. When running macro, detect if anything is currently selected

    Hello, I have a autocad macro that run some commands ( explode, pedit etc etc ) on ALL items in the current drawing. I wish to alter the vba so that detects if there are currently selected items...

    Started by s8utt‎, 14th Dec 2015 02:30 am
    • Replies: 0
    • Views: 246
    14th Dec 2015 02:30 am Go to last post
  15. Select Mtext object without selectionset

    Hi, I have some lines and Mtext objects in my drawing. Mtext objects inserted at midpoint of lines. I can select lines with macro. Is it possible to select Mtext object automatically that exist in...

    Started by habakay‎, 10th Dec 2015 02:45 pm
    • Replies: 2
    • Views: 330
    10th Dec 2015 09:18 pm Go to last post
  16. Text Object Angle Problem

    Hi, I search many forums but I can not find the solution. I have many texts in my drawing with different angles. I try to add a new text object before these texts that contains ID number. What I...

    Started by habakay‎, 6th Dec 2015 03:33 pm
    • Replies: 1
    • Views: 328
    10th Dec 2015 02:53 pm Go to last post
  17. Changeing layout's viewport's focal point in model space with VBA

    I have few hundreds of autocad drawings which are maps. My customer changed his coordinate system for maps and wants me to change all the old maps to new coordinate system. He didn't accept that I...

    Started by Scion‎, 6th Dec 2015 10:27 am
    • Replies: 2
    • Views: 447
    10th Dec 2015 02:21 pm Go to last post
  18. batch processing among drawing

    hi, this is my first VBA's post, so my knowledge about it is minimal at the moment, but i have some autolisp experience but i don’t think it can help my with my task. i have about 200+...

    Started by samifox‎, 9th Nov 2015 12:50 pm
    • Replies: 2
    • Views: 468
    5th Dec 2015 06:54 am Go to last post
  19. Draw Polyline with x,y, & z coordinates from collection of arrays

    Background: I receive a .dxf with points. These points are arrayed in x,y,& z coordinates. I have extracted the coordinates into collections and I am trying to draw a polyline using those...

    Started by Jalen Weir‎, 20th Nov 2015 09:36 pm
    • Replies: 6
    • Views: 676
    24th Nov 2015 10:45 pm Go to last post
  20. Get Coords from AcadPoint and pass to array

    Working in VBA for AutoCAD 2016 and I cant seem to figure out how to extract coordinates from a point in an open, active drawing. Any help would be much appreciated. Thank you.

    Started by Jalen Weir‎, 11th Nov 2015 12:07 am
    points coordinates
    • Replies: 5
    • Views: 539
    13th Nov 2015 08:01 pm Go to last post
  21. Animate AutoCad 2D drawings

    Hi, I`m not sure if this is the right forum for this question, but I`ll give it a try; I want to animate Autocad 2D drawings from an automated process plant. The drawings contains...

    Started by Ckru‎, 5th Nov 2015 09:24 am
    • Replies: 1
    • Views: 421
    6th Nov 2015 03:23 am Go to last post
  22. VBA help - block insertion

    Hi There Sorry that this will be such a basic question. I am not a VBA expert in any way....quite new actually . Running Autocad Architecure 2014. I have a VBA utility that I have made a...

    Started by matt_HH‎, 7th Oct 2015 04:11 pm
    • Replies: 3
    • Views: 653
    20th Oct 2015 05:01 pm Go to last post
  23. Help with Palette

    Hello everyone! I am very familiar with VLISP, but extremely new to vb.NET. I am trying to write a simple measuring tool to display the results to a palette. Imports System.Runtime Imports...

    Started by Hippe013‎, 14th Oct 2015 07:44 pm
    • Replies: 0
    • Views: 385
    14th Oct 2015 07:44 pm Go to last post
  24. Tool palette resource dll

    G'day, is it possible to have tool palette images (png) contained in a dll which are accessible by Autocad? Can anyone point me in the right direction of a guide on how this is done. Thanks

    Started by jnky‎, 13th Oct 2015 06:12 am
    • Replies: 0
    • Views: 399
    13th Oct 2015 06:12 am Go to last post
  25. Not able to copy attributes of one block to other using vb.net code

    Hi All, I am a complete newbie for AutoCad and AutoCad.NET. I am stuck with a problem. I am asking the user to select a block reference which has three attribures namely LINEUP, BAY and HL. Then...

    Started by AbhilashDK2014‎, 8th Oct 2015 01:40 pm
    • Replies: 0
    • Views: 379
    8th Oct 2015 01:40 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