mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-21 08:35:14 +00:00
Fix #5845. Allow non GRAPH_VIEW reference representations. Apparently it's a thing in the docs.
If anybody can explain to me how Reference is meant to be used (the example in the docs is really ambiguous) please do :)
This commit is contained in:
@@ -204,6 +204,7 @@ class Usecase:
|
|||||||
elif self.settings["context"].ContextIdentifier == "Reference":
|
elif self.settings["context"].ContextIdentifier == "Reference":
|
||||||
if self.settings["context"].TargetView == "GRAPH_VIEW":
|
if self.settings["context"].TargetView == "GRAPH_VIEW":
|
||||||
return self.create_structural_reference_representation()
|
return self.create_structural_reference_representation()
|
||||||
|
return self.create_variable_representation()
|
||||||
elif self.settings["context"].ContextIdentifier == "Profile":
|
elif self.settings["context"].ContextIdentifier == "Profile":
|
||||||
return self.create_curve3d_representation()
|
return self.create_curve3d_representation()
|
||||||
elif self.settings["context"].ContextIdentifier == "SurveyPoints":
|
elif self.settings["context"].ContextIdentifier == "SurveyPoints":
|
||||||
|
|||||||
Reference in New Issue
Block a user