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

Community Tip - Learn all about PTC Community Badges. Engage with PTC and see how many you can earn! X

Change Drawing Sheet format Using VB.NET (Sheet Setup)

bsomasundaram
1-Newbie

Change Drawing Sheet format Using VB.NET (Sheet Setup)

Hi Guys,

 

I need to change Drawing Sheet format Using VB.NET, I tried with below coding and I am getting error while “session.retrievemodel(desc)” run.

 

Dim Desc as IpfcModelDescriptor

Dim Sheetdt as IpfcSheetData

Dim Sheetfrmt as IpfcDrawingFormat

 

Desc = (New CCpfcModelDescriptor).CreateFromFileName(“a4_format.frm”)

Sheetfrmt  = session.Retrievemodel(Desc)

 

Error Msg:

At pfcls.IpfcBaseSession.RetrieveModel(IpfcModelDescriptor_MdlDescr).

 

Please help me to solve and further process.

 

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