Give it a try and let me know how it works for you.
Create 3 lines, each 1/3 of the required thickness, set the colour for each line, move the lines together, select all three, then menu Shape - Group. Electronics for Visio Electrical for Visio Electronics Packages for Visio Thanks The prefered Visio method would be to create a custom line pattern.
Thanks wire showing 3 colours like green/blue/brown say for a plug colours.
The comments are closed here, so if you want to comment, you have to head over to I’ve written about VBA and Acrobat Java Script before, and I’ve also mentioned that you can combine VBA and Java Script to access PDF form fields, but I still owe a sample for that.
I had to answer another question today about how to exactly do that, so I whipped up a quick sample program that demonstrates the use of the Java Script Object (JSO) to read and write Acro Form fields.
We start the same way as in my old VBA sample to create a VBA program that references the Acrobat TLB and to add a button to a document. Open ("C:\temp\sample Form.pdf") Set jso = the Form.
When we now use the following script as the button handler, we can work with form fields: Private Sub Command Button1_Click() Dim Acro App As Acrobat. CAcro PDDoc Dim jso As Object Dim text1, text2 As String Set Acro App = Create Object("Acro Exch. Get JSObject ' get the information from the form fields Text1 and Text2 text1 = Field("Text1"). Value Msg Box "Values read from PDF: " & text1 & " " & text2 ' set a text field Dim field2 As Object Set field2 = Field("Text2") field2.
For those, you need to use the XFA DOM to access the form data.Value = 13 ' assign the number 13 to the fields value ' get the information from the form fields Text1 and Text2 text1 = Field("Text1"). Value Msg Box "Values read from PDF: " & text1 & " " & text2 the Form. Exit Set Acro App = Nothing Set the Form = Nothing Msg Box "Done" End Sub This program requires a PDF file with text fields called “Text1” and “Text2” to be stored as C:\temp\sample With the explanation in the previous two blog posts, it should not be hard to understand what’s going on here.The only new command introduced is the get Field() function, which returns a form field.The form field object has a property “value” which contains the actual value that’s assigned to the field.For anybody interested in XFA forms, the Life Cycle Designer ES Scripting Reference is a must read.