mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-02 17:46:22 +03:00
Documentation is added in a new "Inspector" page of "User Guides". Inspector plugins has some improvements by the documentation needs. New DRAW scripts are implemented for 'tinspector' command.
77 lines
1.6 KiB
Plaintext
77 lines
1.6 KiB
Plaintext
pload DCAF
|
|
|
|
chrono qat start
|
|
# Create a new document and set UndoLimit
|
|
NewDocument D BinOcaf
|
|
|
|
#NewDocument D
|
|
cpulimit 300
|
|
UndoLimit D 100
|
|
|
|
# Open a transaction
|
|
NewCommand D
|
|
|
|
puts "caf005-I3"
|
|
set QA_DUP 0
|
|
|
|
# Add an attribute to a data framework
|
|
set aLabel_Root 0:2
|
|
set aName_Root Label_1
|
|
Label D ${aLabel_Root}
|
|
SetName D ${aLabel_Root} ${aName_Root}
|
|
|
|
set aName1 Label_1_1
|
|
###set aChild1 [NewChild D ${aLabel_Root}]
|
|
set aChild1 0:2:1
|
|
Label D ${aChild1}
|
|
SetName D ${aChild1} ${aName1}
|
|
|
|
set aName2 Label_1_2
|
|
###set aChild2 [NewChild D ${aLabel_Root}]
|
|
set aChild2 0:2:2
|
|
Label D ${aChild2}
|
|
SetName D ${aChild2} ${aName2}
|
|
|
|
set aName3 Label_1_1_1
|
|
###set aChild3 [NewChild D ${aLabel_Root}]
|
|
set aChild3 0:2:3
|
|
Label D ${aChild3}
|
|
SetName D ${aChild3} ${aName3}
|
|
|
|
set aName4 Label_1_1_2
|
|
###set aChild4 [NewChild D ${aLabel_Root}]
|
|
set aChild4 0:2:4
|
|
Label D ${aChild4}
|
|
SetName D ${aChild4} ${aName4}
|
|
|
|
set aName5 Label_1_1_3
|
|
###set aChild5 [NewChild D ${aLabel_Root}]
|
|
set aChild5 0:2:5
|
|
Label D ${aChild5}
|
|
SetName D ${aChild5} ${aName5}
|
|
|
|
set aName6 Label_1_2_1
|
|
###set aChild6 [NewChild D ${aLabel_Root}]
|
|
set aChild6 0:2:6
|
|
Label D ${aChild6}
|
|
SetName D ${aChild6} ${aName6}
|
|
|
|
set aName7 Label_1_2_2
|
|
###set aChild7 [NewChild D ${aLabel_Root}]
|
|
set aChild7 0:2:7
|
|
Label D ${aChild7}
|
|
SetName D ${aChild7} ${aName7}
|
|
|
|
SetNode D ${aLabel_Root}
|
|
AppendNode D ${aLabel_Root} ${aChild1}
|
|
AppendNode D ${aLabel_Root} ${aChild2}
|
|
AppendNode D ${aChild1} ${aChild3}
|
|
AppendNode D ${aChild1} ${aChild4}
|
|
AppendNode D ${aChild1} ${aChild5}
|
|
AppendNode D ${aChild2} ${aChild6}
|
|
AppendNode D ${aChild2} ${aChild7}
|
|
|
|
pload INSPECTOR
|
|
|
|
tinspector -plugins dfbrowser -select 0:2:6 TDataStd_TreeNode
|