Пример #1
0
        protected override string HtmlHelp_Source()
        {
            var nTopic = new Grasshopper.GUI.HTML.GH_HtmlFormatter(this)
            {
                Title       = Name,
                Description =
                    @"<p>This component is a special interface object that allows for quick picking a Revit ElementType object.</p>" +
                    @"<p>Double click on it and use the name input box to enter a family name, alternativelly you can enter a name patter. " +
                    @"If a pattern is used, this param list will be filled up with all the element types that match it.</p>" +
                    @"<p>Several kind of patterns are supported, the method used depends on the first pattern character:</p>" +
                    @"<dl>" +
                    @"<dt><b>></b></dt><dd>Starts with</dd>" +
                    @"<dt><b><</b></dt><dd>Ends with</dd>" +
                    @"<dt><b>?</b></dt><dd>Contains, same as a regular search</dd>" +
                    @"<dt><b>:</b></dt><dd>Wildcards, see Microsoft.VisualBasic " + "<a target=\"_blank\" href=\"https://docs.microsoft.com/en-us/dotnet/visual-basic/language-reference/operators/like-operator#pattern-options\">LikeOperator</a></dd>" +
                    @"<dt><b>;</b></dt><dd>Regular expresion, see " + "<a target=\"_blank\" href=\"https://docs.microsoft.com/en-us/dotnet/standard/base-types/regular-expression-language-quick-reference\">here</a> as reference</dd>" +
                    @"</dl>",
                ContactURI = AssemblyInfo.ContactURI,
                WebPageURI = AssemblyInfo.WebPageURI
            };

            nTopic.AddRemark(@"You can also connect a list of categories, families or types at left as an input and this component will be filled up with all types that belong to those objects.");

            return(nTopic.HtmlFormat());
        }
Пример #2
0
        protected override string HtmlHelp_Source()
        {
            var nTopic = new Grasshopper.GUI.HTML.GH_HtmlFormatter(this)
            {
                Title       = Name,
                Description =
                    @"<p>Double click on it and use the name input box to enter a name, alternativelly you can enter a name patter. " +
                    @"If a pattern is used, this param list will be filled up with all the objects that match it.</p>" +
                    @"<p>Several kind of patterns are supported, the method used depends on the first pattern character:</p>" +
                    @"<dl>" +
                    @"<dt><b>></b></dt><dd>Starts with</dd>" +
                    @"<dt><b><</b></dt><dd>Ends with</dd>" +
                    @"<dt><b>?</b></dt><dd>Contains, same as a regular search</dd>" +
                    @"<dt><b>:</b></dt><dd>Wildcards, see Microsoft.VisualBasic " + "<a target=\"_blank\" href=\"https://docs.microsoft.com/en-us/dotnet/visual-basic/language-reference/operators/like-operator#pattern-options\">LikeOperator</a></dd>" +
                    @"<dt><b>;</b></dt><dd>Regular expresion, see " + "<a target=\"_blank\" href=\"https://docs.microsoft.com/en-us/dotnet/standard/base-types/regular-expression-language-quick-reference\">here</a> as reference</dd>" +
                    @"</dl>",
                ContactURI = @"https://discourse.mcneel.com/c/serengeti/inside"
            };

            return(nTopic.HtmlFormat());
        }
Пример #3
0
        protected override string HtmlHelp_Source()
        {
            var nTopic = new Grasshopper.GUI.HTML.GH_HtmlFormatter(this)
            {
                Title       = Name,
                Description =
                    @"<p>This component returns all ElementTypes in the document filtered by Filter.</p>" +
                    @"<p>You can also specify a name pattern as a FamilyName and-or TypeName." +
                    @"<p>Several kind of patterns are supported, the method used depends on the first pattern character:</p>" +
                    @"<dl>" +
                    @"<dt><b>></b></dt><dd>Starts with</dd>" +
                    @"<dt><b><</b></dt><dd>Ends with</dd>" +
                    @"<dt><b>?</b></dt><dd>Contains, same as a regular search</dd>" +
                    @"<dt><b>:</b></dt><dd>Wildcards, see Microsoft.VisualBasic " + "<a target=\"_blank\" href=\"https://docs.microsoft.com/en-us/dotnet/visual-basic/language-reference/operators/like-operator#pattern-options\">LikeOperator</a></dd>" +
                    @"<dt><b>;</b></dt><dd>Regular expresion, see " + "<a target=\"_blank\" href=\"https://docs.microsoft.com/en-us/dotnet/standard/base-types/regular-expression-language-quick-reference\">here</a> as reference</dd>" +
                    @"<dt><b>></b></dt><dd>Else it looks for an exact match</dd>" +
                    @"</dl>",
                ContactURI = @"https://discourse.mcneel.com/c/rhino-inside/Revit/"
            };

            return(nTopic.HtmlFormat());
        }
Пример #4
0
        protected override string HtmlHelp_Source()
        {
            var nTopic = new Grasshopper.GUI.HTML.GH_HtmlFormatter(this)
            {
                Title       = Name,
                Description =
                    @"<p>This component is a special interface object that allows for quick accessing to Revit Element parameters.</p>" +
                    @"<p>It's able to modify itself in order to show any parameter its input element parameter contains. " +
                    @"It also allows to remove some output parameters if are not connected to anything else.</p>" +
                    @"<p>Under the component contextual menu you would find these options:</p>" +
                    @"<dl>" +
                    @"<dt><b>Get common parameters</b></dt><dd>Populates the output parameters list with common parameters in all input elements</dd>" +
                    @"<dt><b>Get all parameters</b></dt><dd>Populates the output parameters list with all parameters found in all input elements</dd>" +
                    @"<dt><b>Remove unconnected parameters</b></dt><dd>Removes the output parameters that are not connected to anything else</dd>" +
                    @"</dl>",
                ContactURI = @"https://www.rhino3d.com/inside/revit/beta/"
            };

            nTopic.AddRemark("SHIFT + Double click runs \"Get common parameters\"");
            nTopic.AddRemark("CTRL + Double click runs \"Remove unconnected parameters\".");

            return(nTopic.HtmlFormat());
        }