Open RyugaRyuzaki opened 3 weeks ago
From snippet :
constructor IFC4X3.IfcSIUnit(
Dimensions: (Handle<IFC.IfcDimensionalExponents> | IFC.IfcDimensionalExponents),
UnitType: IFC.IfcUnitEnum,
Prefix: IFC.IfcSIPrefix | null,
Name: IFC.IfcSIUnitName): IFC.IfcSIUnit
So i follow
IfcDimensionalExponents: IFC.IfcDimensionalExponents =
new IFC.IfcDimensionalExponents(1, 1, 1, 1, 1, 1, 1);
IfcLengthUnit: IFC.IfcSIUnit = new IFC.IfcSIUnit(
this.IfcDimensionalExponents,
IFC.IfcUnitEnum.LENGTHUNIT,
"",
IFC.IfcSIUnitName.METRE
);
And result
#19= IFCSIUNIT(#18,.LENGTHUNIT.,$,.METRE.);
Expected :
#19= IFCSIUNIT(*,.LENGTHUNIT.,$,.METRE.);
The problem "*" instead "#18".
Can you share the full code for writing it?
Can you share the full code for writing it?
@beachtom to define and to export and to writeline
This is fixed!
This is fixed!
Ops! @beachtom it's still error! Result :
#88=IFCSIUNIT(.LENGTHUNIT.,'',.MILLI.,$);
Expected :
#88=IFCSIUNIT(*,.LENGTHUNIT.,'',.MILLI.,$);
Did you test with the code here - new version hasn't been released yet? In any case I will double check
Did you test with the code here - new version hasn't been released yet? In any case I will double check
yes. i downloaded build.zip then i followed this
class IfcSIUnit extends IfcNamedUnit {
UnitType: IfcUnitEnum;
Prefix: IfcSIPrefix | null;
Name: IfcSIUnitName;
type: number;
constructor(UnitType: IfcUnitEnum, Prefix: IfcSIPrefix | null, Name: IfcSIUnitName);
}
And output
#88=IFCSIUNIT(.LENGTHUNIT.,'',.MILLI.,$);
What happened?
When i try to create IfcGeometricRepresentationSubContext :
Then i checked from here https://validate.buildingsmart.org/dashboard It threw this error
Version
0.0.54
What browsers are you seeing the problem on?
No response
Relevant log output
Anything else?
null