Skip to main content
Skip table of contents

getStyleReferences

A logic command that examines the specified HTML content and retrieves the attributes of all <link> elements that refer to Dynamo CSS style sheets.

This command specifically looks for all <link> elements whose "rel" attribute has the value "stylesheet" and "type" attribute has the value "dynamo/css". A Map with the attributes is created for each found element, and these Maps are stored into a Collection that is then stored into a variable.

var

Type: String

Defines the name of the variable whose value will be the created Collection.

value

Type: File, String, DAP Part

Defines the HTML content that this command will be examining.

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.