Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations IDS on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: spown
  • Order by date
  1. spown

    How to separate bloks?

    i give the block name using the following source ObjectCount = ThisDrawing.Blocks.count blockName = "ELTABLO_" + Str(ObjectCount + 1) end it was worked.
  2. spown

    How to separate bloks?

    I create block with Set blockTablo = ThisDrawing.Blocks.Add(insertPoint, blockName) Then I add attributes. Set blockTabloAttrib = blockTablo.AddAttribute(0.15, mode, "òðàôîïîñò", blockPoint, "ÒÏ", attrTrafopost) All of source is working fine until now. The new block gets a part of old one...
  3. spown

    How to separate bloks?

    I use VBA to create block with attributes, but Autocad Map 2000 mixed new one with old one. What can I do?
  4. spown

    How to make bloks via VBA

    NO. I use ThisDrawing.Blocks.Add(insertionPoint,"Eltablo") evry time.
  5. spown

    How to make bloks via VBA

    Hi, I want to make bloks with several attributes. I use Bloks.add() metod and it's work but evry new block that I create is added in the same block collection. When marking one of them they have all marked. I'm doing the same thing with autolisp routine. Inserting block via autocad command...
  6. spown

    How to enter text in TextBox?

    Thank you for answer. This is AutoCad VBA and I found my mistace. This realy works fine.
  7. spown

    How to enter text in TextBox?

    Hallo, I'm want to enter a text in text property of TextBox. I read help exampels and using the following part of cod Sub Eltablo() Dim Trafopost, Izvod As String Dim StalbNomer, TabloNomer As String Dim tipTablo As String Dim EPN As String Dim Electromer, Tok As String...
  8. spown

    How to insert block in ModelSpace through VBA?

    Thank you for the help. I will attempt to avoid SendCommadn function.
  9. spown

    How to insert block in ModelSpace through VBA?

    First excuse me for my english! It's posible to written stupid things some times. I'm using VBA for Autocad from month ago. I was written a program to put block with attribute, but the command Thisdrawing.Sendcommand dos't work and do not now why. Please help!

Part and Inventory Search