/// <summary>
        /// Indicates whether the script is defined for this group
        /// </summary>
        /// <returns>True if the script is defined, false otherwise.</returns>
        public static bool HasScript(this IfcGroup group)
        {
            string script = group.GetPropertySingleValue <IfcText>(Defaults.DefaultPSet, _pScript);

            return(!String.IsNullOrEmpty(script));
        }
 /// <summary>
 /// Gets the script from predefined pSet and property.
 /// </summary>
 /// <returns>Script saved in the property</returns>
 public static string GetScript(this IfcGroup group)
 {
     return(group.GetPropertySingleValue <IfcText>(Defaults.DefaultPSet, _pScript));
 }