Search the Community
Showing results for tags 'vb.net'.
-
Conversion from string to type Integer is not valid
Musashi84 posted a topic in .NET, ObjectARX & VBA
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... -
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...
-
Multiple Paper Space Layouts, Multiple Views and only One ViewPort in VB.NET
turkish posted a topic in .NET, ObjectARX & VBA
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... -
WPF vb.net ShowModelessWindow prevent multiple instances
budinsky posted a topic in .NET, ObjectARX & VBA
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... -
VB.net / edit inserted dynamic block's attribute textstring and parameter's value
mrl989 posted a topic in .NET, ObjectARX & VBA
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.- 1 reply
-
- dynamic block
- attribute textstring
-
(and 1 more)
Tagged with:
-
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?
- 3 replies
-
- modify block attributes
- help me
-
(and 1 more)
Tagged with:
-
How to utilize built-in Rotate command with SelectionSet?
Alex_AMF posted a topic in .NET, ObjectARX & VBA
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...- 7 replies
-
- selectionset
- rotate
-
(and 2 more)
Tagged with:
-
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...
- 5 replies
-
- customization
- autocad 2012
-
(and 1 more)
Tagged with:
-
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...
-
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...
-
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...
-
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...
-
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...
- 3 replies
-
- dwg to pdf conversion
- autocad 2011
-
(and 1 more)
Tagged with:
-
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...
-
- pop image
- autocad cursor
-
(and 1 more)
Tagged with:
-
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
-
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...
- 4 replies
-
- vb.net
- drawing editing
-
(and 2 more)
Tagged with:
-
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...
- 1 reply
-
- vplayeroff
- vb.net
-
(and 1 more)
Tagged with:
-
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...