Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations JStephen on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to get the name of a drawing format

  • Thread starter Thread starter weblinker
  • Start date Start date
W

weblinker

Guest
Hello


is it possible to get the Format Name of a drawing with weblink. In the API I found


pfcSheetOwner GetSheetFormat (integerSheetNumber)


But anyhow this does not work. Is there another possibility to get this name?


Best Regards
Juergen
 
In Pro/TOOLKIT I can call ProDrawingFormatGet() which returns the name of the format. I would take another look at what a pfcSheetOwner is, may there's a name?






#include <ProDrawing.h>

ProError
ProDrawingFormatGet
(


ProDrawing drawing



/* (In)


The drawing


*/


int sheet



/* (In)


The sheet number


*/


ProName format_name



/* (Out)


The name of the drawing sheet's format


*/

)
 
var CurFormat = CurDrawing.GetSheetFormat (1);
var CurFormatName = CurFormat.FullName;


Class pfcSheetOwner.GetSheetFormatlaedsto a pfcDrawingFormat-Object
Description
This class is a subclass of pfcModel; it describes a drawing format model.


Direct Parent Classes:
pfcModel


that's all. But there must be a FullName property which gives me the name of the format and it works
 

Part and Inventory Search

Sponsor

Back
Top