예제 #1
0
        private void DisplayHelp()
        {
            TextHighliter t = new TextHighliter();

            t.AppendFormat("Commands:");
            t.AppendFormat("- select [count|list|short] [transverse] [highlight] <startingElement> [Property [Property...]]");
            t.Append("    <startingElement>: <EntityLabel, <EntityLabel>> or <ifcTypeName>", Brushes.Gray);
            t.Append("    [Property] is a Property or Inverse name", Brushes.Gray);
            t.Append("    [highlight] puts the returned set in the viewer selection", Brushes.Gray);

            t.AppendFormat("- EntityLabel label [recursion]");
            t.Append("    [recursion] is an int representing the depth of children to report", Brushes.Gray);

            t.AppendFormat("- IfcSchema [list|count|short|full] <TypeName>");
            t.Append("    <TypeName> can contain wildcards", Brushes.Gray);
            t.Append("    use / in <TypeName> to select all root types", Brushes.Gray);

            t.AppendFormat("- GeometryInfo [binary|viewer] <EntityLabel,<EntityLabel>>");
            t.Append("    Provide textual information on meshes.", Brushes.Gray);

            t.AppendFormat("- Reload <EntityLabel,<EntityLabel>>");
            t.Append("    <EntityLabel> filters the elements to load in the viewer.", Brushes.Gray);

            t.AppendFormat("- clip [off|<Elevation>|<px>, <py>, <pz>, <nx>, <ny>, <nz>|<Storey name>]");
            t.Append("    Clipping the 3D model is still and unstable feature. Use with caution.", Brushes.Gray);

            t.AppendFormat("- zoom <Region name>");
            t.Append("    'zoom ?' provides a list of valid region names", Brushes.Gray);

            t.AppendFormat("- Visual [list|tree|[on|off <name>]|mode <ModeCommand>]");
            t.Append("    'Visual list' provides a list of valid layer names", Brushes.Gray);
            t.Append("    'Visual tree' provides a tree layer structure", Brushes.Gray);
            t.Append("    'Visual mode ...' changes the mode of the layer tree structure", Brushes.Gray);
            t.Append("      <ModeCommand> in: type, entity, oddeven or demo.", Brushes.Gray);

            t.AppendFormat("- clear [on|off]");

            t.AppendFormat("- SelectionHighlighting [WholeMesh|Normals]");
            t.Append("    defines the graphical style for selection highliting.", Brushes.Gray);

            t.AppendFormat("- SimplifyGUI");
            t.Append("    opens a GUI for simplifying IFC files (useful for debugging purposes).", Brushes.Gray);

            t.AppendFormat("");
            t.Append("Commands are executed on <ctrl>+<Enter>.", Brushes.Blue);
            t.AppendFormat("double slash (//) are the comments token and the remainder of lines is ignored.");
            t.AppendFormat("If a portion of text is selected, only selected text will be executed.");

            t.DropInto(txtOut.Document);
        }
예제 #2
0
 private void ReportAdd(TextHighliter TH)
 {
     TH.DropInto(txtOut.Document);
     TH.Clear();
 }
예제 #3
0
 private void ReportAdd(TextHighliter th)
 {
     th.DropInto(TxtOut.Document);
     th.Clear();
 }