Anonymous
515 Views, 2 Replies
04-28-2016
12:09 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
04-28-2016
12:09 AM
Hi there,
Using the following code to create a filename when I use my macro to create a DXF of a flat pattern in my sheet metal part:
Dim strPath As String
strPath = oPartDoc.FullFileName
Dim oDXFfileNAME As String
oDXFfileNAME = strPath & ".dxf"
Dim oDataIO As DataIO
Set oDataIO = oPartDoc.ComponentDefinition.DataIO
oDataIO.WriteDataToFile sOut, oDXFfileNAME
My files are now saved as fullfilename.ipt.dxf
How do I get rid of the itp part
So how do I get the full name of the file in strPath without the ".ipt"
Thanks in advance!
Solved! Go to Solution.