Dump the Contents of a BOM Header - Siemens PLM
文章推薦指數: 80 %
The arguments -maxLevel 0 mean to dump just this object, the BOM header in this case. -traceIds. Normally the dump methods do not trace IDs even if ID ...
DumptheContentsofaBOMHeaderPrerequisites:FindtheHeaderofaBillofMaterial(BOM)Example:tpwith $BomHeader dumptplet dumpOutput $BomHeader dumpToStringtplet dumpOutputHeaderOnly $BomHeader dumpToString -maxLevel 0Thisisthefirsttimeweusethetpwithcommand.Itissimilartothetpletcommandinthatitinvokesmethodsontheobjectserver.Itdoeshowevernotsetavariable.Insteaditreturnstheresultofthemethodcall.Formethodsthatdon'treturnavalue(voidmethods)anemptystringisreturned.Formethodsthatreturnanarrayalistofkeyvaluepairsisreturnedtobeusedasinputtothearraysetcommand.Herewecallthedumpmethodusingthetpwithcommand.Everyobjectsupportsthismethod.Itcanbeusedtosendtheobject'sstatetothelogserver.Itdoesnotreturnanything.ThereisalsothedumpToStringmethodthatreturnsthecharactersthatdumpwouldsendtothelogserverasastring.Bothmethodssupportthefollowingoptions:-maxLevel
延伸文章資訊
- 1位元組順序記號 - 维基百科
位元組順序記號(英語:byte-order mark,BOM)是位於碼點 U+FEFF 的統一碼字符的名称。當以UTF-16或UTF-32來將UCS/統一碼字符所組成的字串編碼時,這個字符被用來...
- 2Production BOM Header
DynamicsDocs.com Production BOM Header «Table 99000771» Production BOM Header No. [PK] Descriptio...
- 3Find the Header of a Bill of Material (BOM) - Siemens PLM
Example: Copy. tplet BomHeader $BomDocument findHeader "MEProductContext" if {$BomHeader == "null...
- 4The byte-order mark (BOM) in HTML - W3C
When sending custom HTTP headers the code to set the header must be called before output begins. ...
- 5Dump the Contents of a BOM Header - Siemens PLM
The arguments -maxLevel 0 mean to dump just this object, the BOM header in this case. -traceIds. ...