CONVERTPSTYLES

CONVERTPSTYLES

Anonymous
Not applicable
178 Views
1 Reply
Message 1 of 2

CONVERTPSTYLES

Anonymous
Not applicable
Does anyone know how to execute this convertion thrugh VBA?
0 Likes
179 Views
1 Reply
Reply (1)
Message 2 of 2

Anonymous
Not applicable
Here is something I use: '--------------------------------------------------------------------------- ------ Private Function ConvertToCtb() Const sRet As String = """" Dim sCmd As String Dim sPstyle As String sPstyle = ThisDrawing.GetVariable("PSTYLEMODE") If sPstyle = "0" Then sCmd = "(command " & sRet & "convertpstyles" & sRet & " " & ")" & vbCr ThisDrawing.SendCommand sCmd End If End Function '--------------------------------------------------------------------------- -------- "HJohn" wrote in message news:29957566.1075834049692.JavaMail.jive@jiveforum2.autodesk.com... > Does anyone know how to execute this convertion thrugh VBA?
0 Likes