Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

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

Recent content by rwbaker

  1. rwbaker

    arc command vba

    autocad2004 vba trying to create an arc using center point , start point , and total angle can someone please help with the commands for doing this thanks
  2. rwbaker

    formating text strings

    For whatever reason I am having trouble figuring out how to round numbers from a decmial format to fractions Are there any vba scripts that will do this ? I have several programs that i need to do this with. guess i am brain dead on this one.....
  3. rwbaker

    Replace Text

    I changed the way I was going to do this What I did was create a master of the filter assembly then i used attributes for the fields that i want to fill in this seems to be working fine just need to get the rounding of the numbers done right now they are spending about an hour to create this...
  4. rwbaker

    formating text strings

    Thanks for reply What i have is a master drawing that i have created. The drawing is not to scale. I went in and explode all the dimensions then i created attributes for the text so now i have attributes for all the dimensions that i can replace when values that i calc in my program the...
  5. rwbaker

    formating text strings

    I would like to know how i can format a text string like 3.877 to be 3 7/8 looking to round to the nearest #/16 thanks in advance
  6. rwbaker

    Replace Text

    thanks for reply they are both mtext and text
  7. rwbaker

    Replace Text

    acad2004 - vba I want to be able to replace text strings in a drawing I have written a program which calcs perameters for a drawing the drawing is not to scale so all i am trying to do is replace items with the calced value Private Sub cmdCreatePart_Click() xxx = Replace("DimA", DimA, XX) End...
  8. rwbaker

    starting new drawing

    I have a program which draws a part based on user inputs What i need to do is start a new drawing when the draw button is toggled right now you have to start a new drawing before running the program any ideas ? thanks in advance
  9. rwbaker

    error in sub

    I was calling an ACAD2006 ref.....my bad
  10. rwbaker

    error in sub

    does anyone see a problem with this sub i am getting the following error object library feature not supported we are using ACAD2004 Sub DrawAlignedDimension() StartPoint(0) = 0 StartPoint(1) = 0 StartPoint(2) = 0 EndPoint(0) = -txtXDIM EndPoint(1) = 0 EndPoint(2) = 0 SetTextPosition_horz...
  11. rwbaker

    exploding blocks thru vba

    thanks to all the examples gave me exactly what i needed
  12. rwbaker

    exploding blocks thru vba

    after a block is inserted I want to explode it. not sure of code to do this just need the line to explode it... any ideas
  13. rwbaker

    dimensioning thru VBA

    Guess I answered my own question... textposition does control final location of text. now another question How can i use the dimension setting that are currently saved with the drawing ?
  14. rwbaker

    dimensioning thru VBA

    Thanks for the reply I am in model space I did get the dimensioning to work but how can i control where the dimension line will be ? Is this the TextPosition ?
  15. rwbaker

    dimensioning thru VBA

    I am trying to add a linear dimension to a drawing and i am having trouble figuring out the parematers for adding a linear dimension any examples would be much appricated..

Part and Inventory Search