VBA
Discuss AutoCAD ActiveX and VBA (Visual Basic for Applications) questions here.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

hatch pattern

1 REPLY 1
Reply
Message 1 of 2
jostroopers
313 Views, 1 Reply

hatch pattern

Is it possible to influence through vba or dotnet hatch pattern

I mean to say the numbers that you see when you open a .Pat with notepad  to change via a form in vba or dotnet so that you can influence the pattern without applying a different pattern. 

Mvg Jos
Youre drawings are as good as the symbols that compleet them.....
1 REPLY 1
Message 2 of 2
truss_85
in reply to: jostroopers

Yes it is possible with both .net and vba here is a quick example of vba.

 

Sub WriteTextFile()

Dim fs As Object, tf As Object

Set fs = CreateObject("Scripting.FileSystemObject")
Set tf = fs.CreateTextFile("C:\*****.pat", True)

tf.WriteLine "test for 1.line"
tf.WriteLine "test for 2.line"
tf.Close
    
End Sub

 

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report

”Boost