Jump to content

Search the Community

Showing results for tags 'vba'.

  • Search By Tags

    • vba ×
    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


  1. Dear, sir, Any trick,code, VBA, Excel for publish pdf and etransmit also. I have many cad drawings, every drawing have a folder I want to make pdf & etransmit at time ( if in 2 step pdf first and etransmit second no issue) but at same path . But Without opening the drawings....
  2. Dear sir, I need a program for to draw hatching as per condition, multiple selection at time. If separate, separate lisp no issue, if add option for 2 line and 3line Cad file attached with situation and require solution. Thanks HATCHING PATTERN AS...
  3. Hi, I have some code where I want to copy an item to clipboard with base point, and paste into another drawing with insertion point. I have all my code working except the copy with base point section. The below code allows me to initialise the COPYBASE command but require...
  4. Hello, Q1. Is there a list of the objects that can be used in the line "if obj Typeof is xxxx?" Q2. how to change a polyline width using VBA? I understand that there are many types of polylines so this is why I asked Q1. Thank you
  5. Dear team , I used etransmit command >add file than bind xref option, but not bind in current drawing. Is any tools or lisp, VBA macro for add multiple xref and bind together in current file and save as a zip file.? Note :, Xref not attached in current drawing. I...
  6. Sir, can you please tell, in MicroStation v8i, how to use additional program, VBA, script, tools, application, etc for drafting, printing, area, total length, PDF, or other purpose, (Like in AutoCAD, lisp, vlx, VBA, macro, add-in, plugin) If you have any things please share a...
  7. hi can anyone here help write a lisp routine that can be run project wide to hide/show attributes . The user must be given an option to select an object , write or select attribute name and also select multiple drawings from the project. I have a code that updates the attri...
  8. I found valuable lisp for auto creation block. I want to improve this lisp to following requirement * block selected object individually, not in one block thanks AUTO-BLOCK.LSP
  9. Hello Community! I have been researching this for some time, I am trying to know if it is possible through a routine (lisp) to transfer / copy the information from LT (link template associated with a database in access) to the OD (object data) as I show in the image. So i need a very spec...
  10. NirantarVidyarthee

    Wrong value of ExtMin

    I have received the attached drawing from one of my clients. (I have removed geometry to maintain confidentiality. But it retains the essence of problem that I have). I have to write VB/A program that extracts data from this drawing. For that I need to know the extents of the drawing. The syste...
  11. Good day everyone, I like to merge three blocks attributes to one block with attributes. I'm not good at VBA. I hope someone correct the below code for me. Thanks Public Sub Merge_LnBLk() Dim ss As ZcadSelectionSet Dim UNode As ZcadText Dim UGL As ZcadText Dim UIL As Zcad...
  12. NBCAD

    OBJECT DATA ASSIGNEMENT

    Hello, As part of a project I must assign an object data table to all elements of the drawing according to their layer. I am looking for an automated solution to assign the Objects Data tables to the elements of the drawing other than by selecting the different layers one by one. Knowin...
  13. I am using AutoCAD VBA with array. I need to call a LISP function to pass a parameter (array). How can I the pass an array from VBA to LISP? I am using this expression: ThisDrawing.SendCommand "Myfunction"
  14. katto01

    VBA delete object

    Hello, I have a drawing with about 15000 objects. I would like to delete all objects with a volume smaller than Vx. I cannot see all objects, I can access them through VBA. I generated a list of objects and extracted the handle and the maximal dimensions. Therefore, I know by handle...
  15. Cleyton Ramos

    Get info from insertblock

    Hello! How do I get the information from an insertblock by clicking it? Thank you very much in advance.
  16. Cleyton Ramos

    Instersectwidth

    Hello! I'm having trouble getting the intersection points on a straight line. Can you post a simple example? thankfull
  17. Anyone has a code to accomplish this? I am dealing with bunch of poorly converted lines from PDF that used to be AutoCAD text in the drawing. Greatly appreciated!
  18. Hello Anybody Help. I need to get point from spline with use lisp function in autocad vba vlax-curve-getPointAtDist Could somebody can help me? Best Regard Joe
  19. Hi to all, please somebody know how to manage the ampoweredit functionality and related dialog windows by VBA personalizzation ?
  20. Hi, I'm new to AutoCAD. I have 700 drawings in AutoCAD. I have to enter "Checker" value in the drawing title block. For all the drawings, its the same value. How to I automate this? I don't want to open manually individual drawing and fill the value. Any macro available for this...
  21. Hello, I am trying to create a dimension style using VBA Excel. I have a simple code as follows: Option Explicit Sub New_Layer() Dim acadApp As AcadApplication Dim acadDoc As AcadDocument Dim mSp As AcadModelSpace Dim dimstyle As AcadDimStyle Dim sDim As AcadDimAligned Dim point1(0 To 2)...
  22. selvamani

    Printing Customization

    Hi All, I need help in customizing printing cad files actually in my case single drawing would have multiple sheets in single model space so it will have multiple title block is there any way to print entire region inside title block one by one by means of vba scripting? (i mean is...
  23. My VBA application requires info from one drawing to be used in another one in the same VBA running session. I need to ALIGN one drawing based upon 3 3D points from another draiwng automatically. At the moment I'm running my application to collate the info from drawing 1, store it, close my...
  24. Is it possible to exclude from a vba macro for Autocad a specific region? For example, apply this macro not to all modelspace but only to a part (which has not lines as boundaries but defined only by position reference x,y in autocad). Thanks
  25. I'm trying to write a VBA code that searches in a general drawing all lines that have a specific length and slope. Then, every time it finds that line in the drawing, it will write next to a specific text, for example "line". Do you think it's possibile? Any idea? Thanks
×
×
  • Create New...