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
延伸文章資訊
- 1What's the difference between UTF-8 and UTF-8 with BOM?
The UTF-8 BOM is a sequence of bytes at the start of a text stream ( 0xEF, 0xBB, 0xBF ) that allo...
- 2位元組順序記號 - 维基百科
位元組順序記號(英語:byte-order mark,BOM)是位於碼點 U+FEFF 的統一碼字符的名称。當以UTF-16或UTF-32來將UCS/統一碼字符所組成的字串編碼時,這個字符被用來...
- 3Byte order mark - Wikipedia
The byte order mark (BOM) is a particular usage of the special Unicode character, U+FEFF BYTE ORD...
- 4BOM Header - SAP Documentation
In the BOM header, you maintain data that refers to the entire object: ... This data is maintaine...
- 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. ...