mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-26 18:21:59 +00:00
Wire up ___localplacement settings #5031
This commit is contained in:
@@ -756,6 +756,14 @@ void mapping::initialize_units_() {
|
|||||||
if (!angle_unit_encountered) {
|
if (!angle_unit_encountered) {
|
||||||
Logger::Warning("No plane angle unit encountered");
|
Logger::Warning("No plane angle unit encountered");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// @todo move to a more descriptive function
|
||||||
|
if (settings_.get<settings::BuildingLocalPlacement>().get()) {
|
||||||
|
placement_rel_to_type_ = file_->schema()->declaration_by_name("IfcBuilding");
|
||||||
|
}
|
||||||
|
if (settings_.get<settings::SiteLocalPlacement>().get()) {
|
||||||
|
placement_rel_to_type_ = file_->schema()->declaration_by_name("IfcSite");
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void mapping::initialize_settings() {
|
void mapping::initialize_settings() {
|
||||||
|
|||||||
Reference in New Issue
Block a user