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

Retrieving a detail symbol definition SUMMARY

Highlighted
Gravel

Retrieving a detail symbol definition SUMMARY

Thanks to Mike Fussy for helping me out. The function
ProDrawingSystemDtlsymdefRetrieve does not use the pro_symbol_dir config
option as the documentation says. Therefore you need to use
ProDrawingDtlsymdefRetrieve passing the path returned by ProConfigoptGet
with pro_symbol_dir as the first parameter. Also, the name of the
symbol CANNOT contain the .sym file extension.



ProName pro_wszConfigOpt = L"pro_symbol_dir";



//Get the pro_symbol_dir config option

pro_error = ProConfigoptGet(pro_wszConfigOpt, pro_wszSymbolPath);



//Retrieve the symbol definition

pro_error = ProDrawingDtlsymdefRetrieve(drawing, pro_wszSymbolPath,
L"scallop", PRO_VALUE_UNUSED, PRO_B_TRUE, &pro_dtlSymDef);



Patrick Williams | Sr. Application Engineer | Engineering Systems |
Steelcase Inc. | 616.698.4078




Announcements