Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

parsing with PrintHierarchy #18

Open
goldv72 opened this issue Jul 12, 2019 · 1 comment
Open

parsing with PrintHierarchy #18

goldv72 opened this issue Jul 12, 2019 · 1 comment

Comments

@goldv72
Copy link

goldv72 commented Jul 12, 2019

Hello! i can't go through the whole hierarchy. PrintHierarchy stops on level 4.
What should I do? How to change the code?

ISO-10303-21;
HEADER;
/* Generated by software containing ST-Developer
 * from STEP Tools, Inc. (www.steptools.com) 
 */

FILE_DESCRIPTION(
/* description */ ('ViewDefinition[CoordinationView_V2.0]'),
/* implementation_level */ '2;1');

FILE_NAME(
/* name */ '1c0031',
/* time_stamp */ '2019-05-27T11:19:26+03:00',
/* author */ (''),
/* organization */ (''),
/* preprocessor_version */ 'ST-DEVELOPER v16',
/* originating_system */ 'Intergraph SmartPlant Interop Publisher',
/* authorisation */ '');

FILE_SCHEMA (('IFC2X3'));
ENDSEC;

DATA;
#10=IFCRELCONTAINEDINSPATIALSTRUCTURE('000000000007rWck000000',#150,'StructureToElements','Elements contained in the structure',(#11),#101);
#11=IFCBUILDINGELEMENTPROXY('000000000005uNYKe00000',#150,$,$,$,#120,$,$,.COMPLEX.);
#12=IFCBUILDINGELEMENTPROXY('00000000000Dy3fyG00000',#150,$,$,$,#120,$,$,.COMPLEX.);
#13=IFCBUILDINGELEMENTPROXY('000000000004k_Dr400000',#150,$,$,$,#120,$,$,.COMPLEX.);
#14=IFCBUILDINGELEMENTPROXY('000000000009ocilO00000',#150,$,$,$,#120,$,$,.COMPLEX.);
#15=IFCBUILDINGELEMENTPROXY('00000000000CzcZnG00000',#150,$,$,$,#120,$,$,.COMPLEX.);
#16=IFCRELDEFINESBYPROPERTIES('0000000000099Rw7G00000',#150,'PropertySetToObjects_ @a=0027!!80012##297058267365834762','PropertySetToObjects',(#60),#54);
#17=IFCRELDEFINESBYPROPERTIES('0000000000075Txm400000',#150,'PropertySetToObjects_ @p=1250498398','PropertySetToObjects',(#11),#55);
#18=IFCRELDEFINESBYPROPERTIES('000000000003JGHPS00000',#150,'PropertySetToObjects_ @p=3299279839','PropertySetToObjects',(#12),#56);
#19=IFCRELDEFINESBYPROPERTIES('000000000009lsA6W00000',#150,'PropertySetToObjects_ @p=1362607691','PropertySetToObjects',(#13),#57);
#20=IFCRELDEFINESBYPROPERTIES('00000000000DVYUAa00000',#150,'PropertySetToObjects_ @p=4138903196','PropertySetToObjects',(#14),#58);
#21=IFCRELDEFINESBYPROPERTIES('000000000002chbQS00000',#150,'PropertySetToObjects_ @p=344942287','PropertySetToObjects',(#15),#59);
#22=IFCPROPERTYSINGLEVALUE('ApprovalStatus',$,IFCTEXT('Working'),$);
#23=IFCPROPERTYSINGLEVALUE('CommodityCode',$,IFCTEXT('PAAZZBOZZABAABOAAZZUS'),$);
#24=IFCPROPERTYSINGLEVALUE('ConstructionType',$,IFCTEXT('New'),$);
#25=IFCPROPERTYSINGLEVALUE('DateCreated',$,IFCTEXT('5/27/2019 11:10:14 AM'),$);
#26=IFCPROPERTYSINGLEVALUE('DateLastModified',$,IFCTEXT('5/27/2019 11:10:14 AM'),$);
#27=IFCPROPERTYSINGLEVALUE('DesignMaximumPressure',$,IFCTEXT('0.00 psi'),$);
#28=IFCPROPERTYSINGLEVALUE('DesignMaximumTemperature',$,IFCTEXT('212.00 F'),$);
#29=IFCPROPERTYSINGLEVALUE('DryWeight',$,IFCTEXT('93.81 lbm'),$);
#30=IFCPROPERTYSINGLEVALUE('Flow Direction',$,IFCTEXT('Undefined'),$);
#31=IFCPROPERTYSINGLEVALUE('IsometricSheetNumber',$,IFCTEXT('$_EmPtY_$'),$);
#32=IFCPROPERTYSINGLEVALUE('Location',$,IFCTEXT('E 40 ft  5.22 in      N 0 ft  0.00 in   EL+ 13 ft  1.48 in'),$);
#33=IFCPROPERTYSINGLEVALUE('Name',$,IFCTEXT('Pipe'),$);
#34=IFCPROPERTYSINGLEVALUE('NominalDiameter',$,IFCTEXT('4in x 4in'),$);
#35=IFCPROPERTYSINGLEVALUE('PermissionGroup',$,IFCTEXT('4'),$);
#36=IFCPROPERTYSINGLEVALUE('PipeRun',$,IFCTEXT('1C0031_Pipe Run1421523827'),$);
#37=IFCPROPERTYSINGLEVALUE('Pipeline',$,IFCTEXT('1C0031'),$);
#38=IFCPROPERTYSINGLEVALUE('PipingCommodityOption2',$,IFCTEXT('Default'),$);
#39=IFCPROPERTYSINGLEVALUE('PipingModelCode',$,IFCTEXT('Piping'),$);
#40=IFCPROPERTYSINGLEVALUE('ReportingType',$,IFCTEXT('Included in Material Control System'),$);
#41=IFCPROPERTYSINGLEVALUE('ShortMaterialDescription',$,IFCTEXT('Pipe, S-STD, BE, ASTM-A53-B Type S'),$);
#42=IFCPROPERTYSINGLEVALUE('Spool',$,IFCTEXT('\X2\041A043E043C043F0440043504410441043E0440043D0430044F\X0\'),$);
#43=IFCPROPERTYSINGLEVALUE('StockPartCutLength',$,IFCTEXT('104.30 in'),$);
#44=IFCPROPERTYSINGLEVALUE('StockPartLength',$,IFCTEXT('104.30 in'),$);
#45=IFCPROPERTYSINGLEVALUE('StressSystemNumber',$,IFCTEXT('$_EmPtY_$'),$);
#46=IFCPROPERTYSINGLEVALUE('System Path',$,IFCTEXT('B36\\A01\\PipingSystem-1-0001\\1C0031\\1C0031_Pipe Run1421523827'),$);
#47=IFCPROPERTYSINGLEVALUE('UserCreated',$,IFCTEXT('User1'),$);
#48=IFCPROPERTYSINGLEVALUE('UserLastModified',$,IFCTEXT('User1'),$);
#49=IFCPROPERTYSINGLEVALUE('Name',$,IFCTEXT('B36'),$);
#50=IFCPROPERTYSINGLEVALUE('Name',$,IFCTEXT('A01'),$);
#51=IFCPROPERTYSINGLEVALUE('Name',$,IFCTEXT('PipingSystem-1-0001'),$);
#52=IFCPROPERTYSINGLEVALUE('Name',$,IFCTEXT('1C0031'),$);
#53=IFCPROPERTYSINGLEVALUE('Name',$,IFCTEXT('1C0031_Pipe Run1421523827'),$);
#54=IFCPROPERTYSET('0000000000097NFB400000',#150,'IfcObjectProperties',$,(#22,#23,#24,#25,#26,#27,#28,#29,#30,#31,#32,#33,#34,#35,#36,#37,#38,#39,#40,#41,#42,#43,#44,#45,#46,#47,#48));
#55=IFCPROPERTYSET('000000000000XL7dy00000',#150,'IfcObjectProperties',$,(#49));
#56=IFCPROPERTYSET('000000000004tOjEa00000',#150,'IfcObjectProperties',$,(#50));
#57=IFCPROPERTYSET('00000000000EB_sHO00000',#150,'IfcObjectProperties',$,(#51));
#58=IFCPROPERTYSET('00000000000AxgYTS00000',#150,'IfcObjectProperties',$,(#52));
#59=IFCPROPERTYSET('000000000000UFT9W00000',#150,'IfcObjectProperties',$,(#53));
#60=IFCFLOWCONTROLLER('000JYC000000e0xvVhN1y4',#150,$,$,$,#120,#61,$); 
#61=IFCPRODUCTDEFINITIONSHAPE($,$,(#63));
#62=IFCPRESENTATIONLAYERASSIGNMENT('Pipe','Pipe',(#63),$);
#63=IFCSHAPEREPRESENTATION(#146,'Body','Brep',(#69));
#64=IFCSTYLEDITEM(#69,(#65),'');
#65=IFCPRESENTATIONSTYLEASSIGNMENT((#66));
#66=IFCSURFACESTYLE('',.BOTH.,(#67));
#67=IFCSURFACESTYLERENDERING(#68,0.,IFCNORMALISEDRATIOMEASURE(0.800000011920929),$,$,$,IFCNORMALISEDRATIOMEASURE(0.907999992370605),IFCSPECULARROUGHNESS(0.5),.NOTDEFINED.);
#68=IFCCOLOURRGB('',0.509803921568627,0.549019607843137,0.627450980392157);
#69=IFCFACETEDBREP(#100);
#70=IFCFACE((#80));
#71=IFCFACE((#81));
#72=IFCFACE((#82));
#73=IFCFACE((#83));
#74=IFCFACE((#84));
#75=IFCFACE((#85));
#76=IFCFACE((#86));
#77=IFCFACE((#87));
#78=IFCFACE((#88));
#79=IFCFACE((#89));
#80=IFCFACEOUTERBOUND(#90,.T.);
#81=IFCFACEOUTERBOUND(#91,.T.);
#82=IFCFACEOUTERBOUND(#92,.T.);
#83=IFCFACEOUTERBOUND(#93,.T.);
#84=IFCFACEOUTERBOUND(#94,.T.);
#85=IFCFACEOUTERBOUND(#95,.T.);
#86=IFCFACEOUTERBOUND(#96,.T.);
#87=IFCFACEOUTERBOUND(#97,.T.);
#88=IFCFACEOUTERBOUND(#98,.T.);
#89=IFCFACEOUTERBOUND(#99,.T.);
#90=IFCPOLYLOOP((#126,#128,#127,#125));
#91=IFCPOLYLOOP((#128,#130,#129,#127));
#92=IFCPOLYLOOP((#130,#132,#131,#129));
#93=IFCPOLYLOOP((#132,#134,#133,#131));
#94=IFCPOLYLOOP((#134,#136,#135,#133));
#95=IFCPOLYLOOP((#136,#138,#137,#135));
#96=IFCPOLYLOOP((#138,#140,#139,#137));
#97=IFCPOLYLOOP((#140,#142,#141,#139));
#98=IFCPOLYLOOP((#142,#144,#143,#141));
#99=IFCPOLYLOOP((#144,#126,#125,#143));
#100=IFCCLOSEDSHELL((#70,#71,#72,#73,#74,#75,#76,#77,#78,#79));
#101=IFCBUILDINGSTOREY('00000000000A7w66G00000',#150,'1c0031_BuildingStorey','BuildingStorey','Filter',#119,$,$,.ELEMENT.,0.);
#102=IFCBUILDING('000000000002fUKIG00000',#150,'1c0031_Building','Building','Filter',#118,$,$,.ELEMENT.,0.,0.,$);
#103=IFCSIUNIT(*,.LENGTHUNIT.,.MILLI.,.METRE.);
#104=IFCSIUNIT(*,.MASSUNIT.,.KILO.,.GRAM.);
#105=IFCSIUNIT(*,.PLANEANGLEUNIT.,$,.RADIAN.);
#106=IFCSIUNIT(*,.AREAUNIT.,.MILLI.,.SQUARE_METRE.);
#107=IFCSIUNIT(*,.VOLUMEUNIT.,.MILLI.,.CUBIC_METRE.);
#108=IFCUNITASSIGNMENT((#103,#104,#105,#106,#107));
#109=IFCRELAGGREGATES('00000000000DzScYu00000',#150,'ProjectToObjects','Project Decomposition',#148,(#121));
#110=IFCRELAGGREGATES('0000000000064B7Fa00000',#150,'SiteToObjects','Site Decomposition',#121,(#102));
#111=IFCRELAGGREGATES('00000000000FzDk1G00000',#150,'BuildingToStorey','Building Decomposition',#102,(#101));
#112=IFCRELAGGREGATES('000000000006U8TKe00000',#150,'PBSSystemHierarchy','PBSSystemHierarchy',#11,(#12));
#113=IFCRELAGGREGATES('00000000000285tzm00000',#150,'PBSSystemHierarchy','PBSSystemHierarchy',#12,(#13));
#114=IFCRELAGGREGATES('000000000008qZiYC00000',#150,'PBSSystemHierarchy','PBSSystemHierarchy',#13,(#14));
#115=IFCRELAGGREGATES('00000000000C4tuk800000',#150,'PBSSystemHierarchy','PBSSystemHierarchy',#14,(#15));
#116=IFCRELAGGREGATES('0000000000092kpEm00000',#150,'PBSSystemHierarchy','PBSSystemHierarchy',#15,(#60));
#117=IFCLOCALPLACEMENT($,#145);
#118=IFCLOCALPLACEMENT(#117,#145);
#119=IFCLOCALPLACEMENT(#118,#145);
#120=IFCLOCALPLACEMENT(#119,#145);
#121=IFCSITE('000000000005zrCby00000',#150,'1c0031_Site',$,$,#117,$,$,.COMPLEX.,$,$,0.,$,$);
#122=IFCDIRECTION((0.,0.,1.));
#123=IFCDIRECTION((1.,0.,0.));
#124=IFCCARTESIANPOINT((0.,0.,0.));
#125=IFCCARTESIANPOINT((13649.3034,57.15,4000.));
#126=IFCCARTESIANPOINT((11000.,57.15,4000.));
#127=IFCCARTESIANPOINT((13649.3034,46.2353,4033.5919));
#128=IFCCARTESIANPOINT((11000.,46.2353,4033.5919));
#129=IFCCARTESIANPOINT((13649.3034,17.6603,4054.3528));
#130=IFCCARTESIANPOINT((11000.,17.6603,4054.3528));
#131=IFCCARTESIANPOINT((13649.3034,-17.6603,4054.3528));
#132=IFCCARTESIANPOINT((11000.,-17.6603,4054.3528));
#133=IFCCARTESIANPOINT((13649.3034,-46.2353,4033.5919));
#134=IFCCARTESIANPOINT((11000.,-46.2353,4033.5919));
#135=IFCCARTESIANPOINT((13649.3034,-57.15,4000.));
#136=IFCCARTESIANPOINT((11000.,-57.15,4000.));
#137=IFCCARTESIANPOINT((13649.3034,-46.2353,3966.408));
#138=IFCCARTESIANPOINT((11000.,-46.2353,3966.408));
#139=IFCCARTESIANPOINT((13649.3034,-17.6603,3945.6471));
#140=IFCCARTESIANPOINT((11000.,-17.6603,3945.6471));
#141=IFCCARTESIANPOINT((13649.3034,17.6603,3945.6471));
#142=IFCCARTESIANPOINT((11000.,17.6603,3945.6471));
#143=IFCCARTESIANPOINT((13649.3034,46.2353,3966.408));
#144=IFCCARTESIANPOINT((11000.,46.2353,3966.408));
#145=IFCAXIS2PLACEMENT3D(#124,#122,#123);
#146=IFCGEOMETRICREPRESENTATIONSUBCONTEXT('Body','Model',*,*,*,*,#147,$,.MODEL_VIEW.,$);
#147=IFCGEOMETRICREPRESENTATIONCONTEXT('Project','Model',3,1.E-7,#145,$);
#148=IFCPROJECT('00000000000BD26BO00000',#150,'1c0031','1c0031_Description',$,$,$,(#147),#108);
#149=IFCAPPLICATION(#154,'1.0','Intergraph SmartPlant Interop Publisher','Intergraph SmartPlant Interop Publisher');
#150=IFCOWNERHISTORY(#151,#149,.READWRITE.,.NOCHANGE.,0,$,$,1558945156);
#151=IFCPERSONANDORGANIZATION(#155,#154,$);
#152=IFCPOSTALADDRESS(.OFFICE.,$,$,$,$,'P.O. Box 240000','Huntsville','Alabama','35824','USA');
#153=IFCACTORROLE(.USERDEFINED.,'Software Provider','Provides solutions that enable the design, construction, and operation of process and power plants, offshore platforms, and ships, and provides the information management capabilities to build and operate those facilities');
#154=IFCORGANIZATION('Intergraph SmartPlant Interop Publisher','Intergraph Corporation','Provider of engineering and geospatial software',(#153),(#152));
#155=IFCPERSON('MyName','MyFamilyName',$,$,$,$,$,$);
ENDSEC;
END-ISO-10303-21;

@umarone
Copy link

umarone commented Nov 24, 2022

Hi Dear,
can you show me your code, so that i may help you Thankx

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants