protected override void setJSON(JObject obj, BaseClassIfc host, HashSet<int> processed)
{
base.setJSON(obj, host, processed);
IfcObjectPlacement placement = Placement;
if (placement != null)
obj["Placement"] = placement.getJson(this, processed);
IfcProductRepresentation representation = Representation;
if (representation != null)
{
//IfcProductDefinitionShape shape = representation as IfcProductDefinitionShape;
//if(shape != null)
//{
// if(shape.mHasShapeAspects.Count == 1)
// {
obj["Representation"] = representation.getJson(this, processed);
// }
// else
//}
//else
//{
//}
}
//internal List<IfcRelAssignsToProduct> mReferencedBy = new List<IfcRelAssignsToProduct>();// : SET OF IfcRelAssignsToProduct FOR RelatingProduct;
}