Thanks, learnt new thing. Never touched FC file structure.
For UNV file, Node is under section 2411. Element under section 2412.
From here https://www.eng-tips.com/viewthread.cfm ... 3ee226a8dc
Code: Select all
Universal Dataset Number 2412
Name: Elements
Status: Current
Owner: Simulation
Revision Date: 14-AUG-1992
-----------------------------------------------------------------------
Record 1: FORMAT(6I10)
Field 1 -- element label
Field 2 -- fe descriptor id
Field 3 -- physical property table number
Field 4 -- material property table number
Field 5 -- color
Field 6 -- number of nodes on element
Record 2: *** FOR NON-BEAM ELEMENTS ***
FORMAT(8I10)
Fields 1-n -- node labels defining element
Record 2: *** FOR BEAM ELEMENTS ONLY ***
FORMAT(3I10)
Field 1 -- beam orientation node number
Field 2 -- beam fore-end cross section number
Field 3 -- beam aft-end cross section number
Record 3: *** FOR BEAM ELEMENTS ONLY ***
FORMAT(8I10)
Fields 1-n -- node labels defining element
Records 1 and 2 are repeated for each non-beam element in the model.
Records 1 - 3 are repeated for each beam element in the model.
Code: Select all
2412
1 41 2 1 7 3
1 2 3
2 41 2 1 7 3
2 4 3
-1
Where in the code write out this unv file? or maybe the import part ignored the color? Or FemMesh obj doesn't store this color?
Cheers,
John