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

We are working to address an issue with subscription email notifications. In the meantime, be sure to check your favorite boards for new topics.

model name too long in ProMdlLoad()

benz2
1-Newbie

model name too long in ProMdlLoad()

body{font-size:10pt;font-family:arial,sans-serif;background-color:#ffffff;color:black;}p{margin:0px;}For more detail on this, refer to the ProSizeConst.h, and best practice would be to use these constants if you are programming in C or C++:

/* Sizes include a NULL terminator */

#define PRO_LINE_SIZE 81
#define PRO_PATH_SIZE 260
#define PRO_COMMENT_SIZE 256
#define PRO_VALUE_SIZE 256

#define PRO_NAME_SIZE 32 /* Any Pro/ENGINEER name */
#define PRO_TYPE_SIZE 4 /* "prt", "asm", "drw", etc. */
#define PRO_EXTENSION_SIZE 4 /* size 3; plus NULL terminator */
#define PRO_VERSION_SIZE 4
#define PRO_MAX_ASSEM_LEVEL 25
#define PRO_FEATREF_KEY_SIZE 81

/* name.ext.# */
#define PRO_FILE_NAME_SIZE (PRO_NAME_SIZE + \
PRO_EXTENSION_SIZE + \
PRO_VERSION_SIZE)

/* instance[generic] */
#define PRO_FAMILY_NAME_SIZE (PRO_NAME_SIZE + PRO_NAME_SIZE + 2)



Ben Franklin
I-Cubed, Inc


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