cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - You can change your system assigned username to something more personal in your community settings. X

Pro/E : Plotting drawings using VBA

ArN
1-Newbie
1-Newbie

Pro/E : Plotting drawings using VBA

Hello all,

I am actually trying to export TIF using VBA. I was able to export a TIFF using the follewing lines :

Set pPlotInstructions = pPlotInstructionsMaker.Create("TIFF")
Set pSheetOwner = iModel
pPlotInstructions.PaperSize = pSheetOwner.GetSheetData(0).SheetSize
pPlotInstructions.UserScale = 1
pPlotInstructions.OutputQuality = 2

iModel.Export iPath & Mid(pFileName, 1, InStr(pFileName, ".")) & "tif", pPlotInstructions

Do not care about the filename... Everything works well except (there is always an "except"...) that I can not apply a pen table on my exported tif. I did not find anything in the plot instructions which could help me defining one.

I tried to enforce a default pen table, a default PCF, Nothing works. When I export manually everything goes well but using this macro, I lose my pens configuration...

Can anyone help me ?

Thanks...


This thread is inactive and closed by the PTC Community Management Team. If you would like to provide a reply and re-open this thread, please notify the moderator and reference the thread. You may also use "Start a topic" button to ask a new question. Please be sure to include what version of the PTC product you are using so another community member knowledgeable about your version may be able to assist.
0 REPLIES 0
Top Tags