Skip to content

Commit b396a41

Browse files
committed
IfcDoc 10.4 - property editing, translation filtering, OWL-TTL
1 parent 9951fda commit b396a41

39 files changed

+5547
-3012
lines changed

CtlParameters.cs

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -523,22 +523,23 @@ private void dataGridViewConceptRules_CellContentClick(object sender, DataGridVi
523523

524524
DocTemplateDefinition docTemplateInner = null;
525525
DocModelRule docRule = this.m_columns[e.ColumnIndex];
526+
DocModelRuleAttribute dma = null;
526527
if(docRule is DocModelRuleAttribute)
527528
{
528-
DocModelRuleAttribute dma = (DocModelRuleAttribute)docRule;
529+
dma = (DocModelRuleAttribute)docRule;
529530
if (dma.Rules.Count > 0 && dma.Rules[0] is DocModelRuleEntity)
530531
{
531532
DocModelRuleEntity dme = (DocModelRuleEntity)dma.Rules[0];
532-
if(dme.References.Count == 1)
533+
if (dme.References.Count == 1)
533534
{
534535
docTemplateInner = dme.References[0];
535536

536-
if(dma.Rules.Count > 1)
537+
//if (dma.Rules.Count > 1)
537538
{
538539
// prompt user to select which template...
539540
}
540541
}
541-
}
542+
}
542543
}
543544

544545
if (docTemplateInner != null)
@@ -553,6 +554,8 @@ private void dataGridViewConceptRules_CellContentClick(object sender, DataGridVi
553554
form.Project = this.m_project;
554555
form.ConceptRoot = this.m_conceptroot;
555556
form.ConceptItem = docConceptItem;
557+
form.ConceptAttr = dma;
558+
556559
form.ConceptLeaf = docConceptInner;
557560
form.CurrentInstance = this.m_instance;
558561
form.ShowDialog(this);

CtlProperties.Designer.cs

Lines changed: 43 additions & 65 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)