Jump to content

Search the Community

Showing results for tags 'vb.net'.

  • Search By Tags

    • vb.net ×
    Type tags separated by commas.
  • Search By Author

Content Type



Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Found 18 results

  1. So I have a VBA sub that assigns a variable to a drawing directly by its name. Trying to do the same thing in VB.NET however, it goes to an error like "Conversion from string to type Integer is not valid". Here is the code in vb.net, I have a opened autocad file named "Drawing3.dwg") and the error c...
  2. Hi everyone, I'm relatively new to VB and AutoCAD, and I've been trying to incorporate a command line method into my existing code to copy, move, and scale a drawing. However, I've hit a roadblock and would appreciate some guidance. Every time I try to run the code, I encounter an error st...
  3. Hello to everybody, I'm writing my first message as I started developing my first App. The thing is I have a dwg with the same number of paper space layouts and views, and the same viewport for all the paper space's layouts. So the problem is: I'm stuck trying to link the viewport of eac...
  4. I would like to have a MainWindow open as modeless so it can stay open, but calling the command again results in multiple modeless windows. How can I check if the MainWindow is already open to prevent multiples? <CommandMethod("BatchProcess")> Public Sub cmdBatchProcess() Dim winBatPro As New...
  5. i can use VB.net to edit normal inserted block reference's attribute textstring but it's not working for dynamic block, pls help. Best regard.
  6. I need to change the attribute of "tag" = "PRO" in all blocks of the model space of the active document in autocad. The text you need to add is "my project". I searched for information about walking blocks and change the attributes but I get nothing. Can anyone help me please?
  7. Hello, Our users must be able to rotate a bunch of lines, circles, blocks etc (which result in looking like a conveyor). I am trying to pass a SelectionSet using the built-in rotate command of AutoCAD. I got a lot of help on the AutoDesk forums: http://forums.autodesk.com/t5/net/how-to-pass...
  8. Hi Autocad Experts, I am new to Autocad customization using VB.net. We have a requirement to draw a horizontal line from a given co-ordinate to the point where it intersects with any other line. It's perhaps already discussed in the forum, but since I am new to vb.net, I am not able to put t...
  9. hi everbody i am new to autocad .net customisation. i want to know that how can we use user interface for user inputs and what is the alternative for DCL in autolisp. for example i have a program(dll) in vb.net. it creates one array how can take one value from the user. i want to use combobox and...
  10. I'm writing a program to import a WMF into the AutoCad Drawing. I haven't been able to find any reference for the import command, so I can't figure out why it's not working. According to Visual Studio, the Import command needs these things to work. Import(String FileName, Object InsertionPoint...
  11. Hello, My goal is to set up a batch printing on all AutoCAD drawings. Each drawing will have a record similar to this: The PartNo records underlined in red are other drawings that my recursive function will go through. That's why I must access this information. I believe I must access a...
  12. NirantarVidyarthee

    No 'SelectionSets' in VB.net

    From the AutoDESK help docs (http://docs.autodesk.com/ACD/2013/ENU/index.html?url=files/GUID-D0BD4249-1122-4209-ABEA-6F19FA156F91.htm,topicNumber=d30e719293) "AutoCAD.Application.ActiveDocument.SelectionSets.Add method Not needed/provided" in VB.Ne...
  13. NirantarVidyarthee

    Convert Drawing To pdf

    Is it possible to export a drawing to pdf without opening a drawing where AutoCAD is installed. I want to write my own code using AutoLISP or VB.Net (and not use any existing third party utility) because I have some specific additional requirements. Any guideline would be helpful. Is Obj...
  14. Good Day All Busy looking for a method to be able to have an image displayed as a pop cursor in AutoCAD. Most of the applications do this with the drag and drop function. Want to be able to do this with the mouse click events. Not sure if this is possible? as in AutoCAD the drawing area...
  15. Hi all, The are dwg files created by a third design company using AutoCad I have installed DWG TRUEVIEWER 2012 by autodesk only for viewing. Is it possible to use vb.net to lunch – open a dwg file apart of pointing directly to exe ? Thanks
  16. Good Day looking for code in vb.net where i can retrieve what exrefs are in a drawing file without opening it. Will also like to be able to edit the exrefs paths and files within the drawing database. The method would also be useful to extract attributes etc. from drawing files without open...
  17. Hi all, Trying to convert the popular VB VPlayerOff function to VB.Net with added functionality of turning a layer off in all viewports in a layout. My code seems to do everything right except update the Xdata with the new results. I tried manipulating the Xdata result buffer initially but is said i...
  18. Hi all, I am writing a VB.net program wherein several parts would be created through a data read from a file and saved to a project location. I am unable to figure out a way to set the reference of a selected .ipj file to a inventor project inside my VB program. Help would be appreciate...
×
×
  • Create New...