I want a Horizontal Curve tool like Civil 3d have. I want to give transition curve(Spiral) and radius between two tangent IN AUTOCAD AS A LSP OR VBA OR VLX
Autodesk Community » VBA
by sdhara.hit
4d ago
I want a Horizontal Curve tool like Civil 3d have. I want to give transition curve(Spiral) and radius between two tangent(LINE) IN AUTOCAD AS A LSP OR VBA OR VLX ..read more
Visit website
Can you create a region from a selection set ?
Autodesk Community » VBA
by aiden_biondi
4d ago
Hi,   I have a 2D arrangement drawing in AutoCAD and I am trying to make it 3D by extruding the polylines. I have done this manually but as a research task I am trying to repeat this using VBA code.    My plan is to select the polylines by creating a selection set, then create a region object from this selection set. To then extrude using 'AddExtrudedSolid', which requires a profile as a region.   I cannot find anywhere how to create a region from my selection set and I am wondering if this is even possible? If anyone has a better way of extruding all the polylines using VB ..read more
Visit website
BOLT COUNTING BY LAYER
Autodesk Community » VBA
by Gaganpatel
4d ago
Dear Sir,   I want to bolt counting by layer, counting only select text (after & before) Please see the attached file. Layer Name : BN1 x 1= Layer Name : BN2 x 2= Layer Name : BN3 x 3= Layer Name : BN4 x 4=   Total Quality : = BN1+BN2+BN3+BN4 M16x35mm = M16x40mm = M16x45mm = M16x50mm = M16x55mm = 4 Thk Washer = 5 Thk Washer = 6 Thk Washer = 8 Thk Washer = 10 Thk Washer =   ..read more
Visit website
Is there a way of accessing info about elements of opened AutoCAD pdf document?
Autodesk Community » VBA
by Robert_Urban342LQ
1w ago
Hi,    I need to find a way of accessing properties of elements in opened AutoCAD pdf document by clicking mouse on it.  E.g. I see a pipe on a document so when I click on that drawing I can retrieve and display properties of that particular pipe.  Is there any API or tool suitable for this task?   So far I can open and display AutoCAD pdf document with pdf.js library but getting info of underlying elements when clicked is a problem.   thanks ..read more
Visit website
Compline error in hidden module : ModcadFunction
Autodesk Community » VBA
by Gaganpatel
1w ago
Dear Sir,   Please see the attached error massage used autocad 2020 64bit & help me.   Option Explicit Dim BNSize(1 To 100) As String Dim BNQty(1 To 100) As Integer Dim SS As AcadSelectionSet 'Count BN from layers BN1,BN2,BN4 Sub BNCount() Dim BoltSize As String Dim BoltQty As Integer Dim LayerQty As Integer Dim Boltstr As Variant 'as Variant because split function return array SelectBN If SS.Count = 0 Then MsgBox "No Valid Bolt Nut Block selected" Exit Sub End If Call FillArray(BNSize, "") 'LIB sub Call FillArray(BNQty, 0) 'LIB sub Dim BNBLOCK As Variant Dim BNAtt As Variant Dim ..read more
Visit website
VBA
Autodesk Community » VBA
by leonidas.davila
1w ago
Hello, I have a linked excel-Cad program, I have updated with AutocadCivil 3d 2024, but I cannot link it with 2024 and I cannot find the 2024 library "acaxxxenu.tlb"     Sólo hay Map 3d 2024 y no me sirve... Alguien me puede ayudar por favor ..read more
Visit website
Autodesk Exchange - Apps Allowed programming language
Autodesk Community » VBA
by faisal.aaouatif
2w ago
Hi , I'm developping an application on Microsoft Excel, Using VBA. The aim of that application is to deal with Autocad Drawings in order to perform bulk operations. Is that type of applications ( VBA ) can be deployed on the Autodesk App Store? Thank you ..read more
Visit website
Re: Slow blocks editing
Autodesk Community » VBA
by rpenalverr
2w ago
hi, could you get a solution for this problem? i have the same problem.. thanks ..read more
Visit website
Polyline measurement lenght and coordinates, then export to array
Autodesk Community » VBA
by l_dabrowskiUZAN4
3w ago
I wrote a macro that doesn't work as it should. The purpose of the program is to measure length of existing polyline and export this data with coordinates to array. Sections are surrounded by the rectangular border. The result in the form of coordination: coordinates, the length of the polyline elements, the length of the polyline in the rectangular boundary and the total length will be entered into the array. The problem is that after selecting the "Border" option from the prompt command bar, the program is not resetting the Lborder variable to 0  (starting polylinie measurement in next ..read more
Visit website
Migrating Microsoft Data Grid to 64 bits
Autodesk Community » VBA
by andre_adc-dao
3w ago
Hello everybody,   I have a client running a VBA applications using Microsoft DataGrid Control, Microsoft FlexGrid Control and Microsoft ADO Data Control. It's working on 32bits OS. Trying to run it on 64bits OS and AutoCAD 64 bits, these controls completely disappeared from the forms. Even if the OCXs have been added and register. There's no missing references.   Any idea? Are these controls compatibles in 64 bits? I didn't find anything about that on the Web.   Thanks, Andr ..read more
Visit website

Follow Autodesk Community » VBA on FeedSpot

Continue with Google
Continue with Apple
OR