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!

Search results for query: *

  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..
  16. rwbaker

    text string

    Not sure why this will not add the text string hope someone can help thanks ^C^C_dtext;MC;\0;68%%189;
  17. rwbaker

    pdf background printing

    I am having trouble with getting acrobat to do background printing i use the following command "C:\\progra~1\\adobe\\acrobat5.0\\reader\\AcroRd32.exe /t \"%s\\%s\" 8100ENG2 \"HP LaserJet 8100 Series PCL 6\" IP_172.24.62.182" but what seems to happen is the file is loaded into acrobat and...
  18. rwbaker

    split command

    i use the split command to get two items from the lines i read in a part number and a description i have run into a problem with it not wanting to split as i thought it would Open "Y:\MTA" + Text1.Text + "PN" For Input As #xfile 'Load integer values MyArray Dim strArray() As String...
  19. rwbaker

    cut/select

    thanks cadstudent but what i want to do is create a detail of an area instead of redrawing it. like on structures detailing connections can i select or enclose an ara and use it as a detail...possibly scaling it a couple of times ...
  20. rwbaker

    cut/select

    Is there a way in acad2000 or 2004 to enclose something like a connection on a structure and select it for use as a detail ? on our current cad system we have something called cut select which allows us to enclosed an area and cut/select this for use as details...

Part and Inventory Search