📄 redlinexml_v_001.xdr
字号:
<?xml version ="1.0"?>
<!--(C) Copyright 2000 by Autodesk, Inc. All Rights Reserved.-->
<Schema name = "RedlineXML_v_001.xdr"
xmlns = "urn:schemas-microsoft-com:xml-data"
xmlns:dt = "urn:schemas-microsoft-com:datatypes">
<!-- RedlineMarkup is the root element. Application elements defined -->
<!-- to encapsulate the host application's initial settings must be -->
<!-- listed after this element. -->
<ElementType name = "RedlineMarkup" content = "eltOnly" order = "seq">
<element type = "BaseDocument" minOccurs = "0" maxOccurs = "1"/>
<element type = "MarkupPlanes" minOccurs = "0" maxOccurs = "1"/>
<element type = "Tag" minOccurs = "0" maxOccurs = "1"/>
<element type = "Objects" minOccurs = "0" maxOccurs = "1"/>
</ElementType>
<!-- BaseDocument is a specification for the document that is being marked up. -->
<!-- It specifies the "system" to be used to parse the document being marked up, -->
<!-- a namespace identifier to use when referencing the elements of that -->
<!-- system's schema, and the name of the schema's top node to use when -->
<!-- parsing a RedlineXML document for the base document specification. -->
<!-- -->
<!-- All attributes for elements defined in this schema will use the units -->
<!-- used in the base document. -->
<ElementType name = "BaseDocument" content = "textOnly" dt:type = "string">
<AttributeType name = "requiredSystem" dt:type = "string" required = "yes"/>
<AttributeType name = "nameSpace" dt:type = "string" required = "yes"/>
<AttributeType name = "topNode" dt:type = "string" required = "yes"/>
<attribute type = "requiredSystem"/>
<attribute type = "nameSpace"/>
<attribute type = "topNode"/>
</ElementType>
<!-- MarkupPlanes is a collection of MarkupPlane elements. -->
<ElementType name = "MarkupPlanes" content = "eltOnly" order = "seq">
<element type = "MarkupPlane" minOccurs = "0" maxOccurs = "*"/>
</ElementType>
<!-- A MarkupPlane is a container for visual qualities applied -->
<!-- to all RedlineXML objects that exist on that MarkupPlane. -->
<!-- RedlineXML objects that do not have a specific Style elements, -->
<!-- will inherit a Style specification on the host MarkupPlane. -->
<ElementType name = "MarkupPlane" content = "eltOnly">
<AttributeType name = "drawPriority" dt:type = "float"/>
<AttributeType name = "visibilityScaleMin" dt:type = "float"/>
<AttributeType name = "visibilityScaleMax" dt:type = "float"/>
<AttributeType name = "name" dt:type = "string" required = "yes"/>
<!-- drawPriority is is used to specify a Z draw order. -->
<!-- The MarkupPlane with the largest positive value gets drawn first, -->
<!-- and the one with the largest (absolute) negative value gets -->
<!-- drawn last. -->
<attribute type = "drawPriority"/>
<!-- The visibilityScale range determines whether a MarkupPlane is visible -->
<!-- based on the apparent distance (zoom factor) of the viewer from the geometry. -->
<attribute type = "visibilityScaleMin"/> <!--minimum value for which the MarkupPlane is visible-->
<attribute type = "visibilityScaleMax"/> <!--maximum value for which the MarkupPlane is visible-->
<attribute type = "name"/>
<element type = "Style" minOccurs = "0" maxOccurs = "1"/>
<element type = "Tags" minOccurs = "0" maxOccurs = "1"/>
</ElementType>
<!-- Objects is a collection of RedlineXML objects. -->
<!-- RedlineXML objects themselves do *not* contain a Style element, -->
<!-- but Style elements may appear in the Objects collection. -->
<!-- Objects defined after a Style element will inherit that -->
<!-- Style element's style settings. -->
<!-- A Style element with the pop attribute set to 1 (true) will -->
<!-- restore a previously specified Style (it's a Style Stack). -->
<!-- If no Style elements have been defined, objects will inherit -->
<!-- the Style specification for its specified MarkupPlane. -->
<!-- If no MarkupPlane is specified for the object, it gets -->
<!-- the default styles defined by the host application. -->
<ElementType name = "Objects" content = "eltOnly" order = "many">
<element type = "Box"/>
<element type = "Circle"/>
<element type = "Ellipse"/>
<element type = "Arc"/>
<element type = "Polyline"/>
<element type = "Spline"/>
<element type = "Text"/>
<element type = "Group"/>
<element type = "Cloud"/>
<element type = "Note"/>
<element type = "Callout"/>
<element type = "Style"/>
</ElementType>
<!-- The RedlineXML objects defined below have scale and rotation -->
<!-- attributes. The following rules define the reference point -->
<!-- for each object when it is being scaled or rotated. -->
<!-- -->
<!-- if the element has an insertion or anchor point (Text, Group, Note, Callout) -->
<!-- use insertion or anchor point, -->
<!-- -->
<!-- if the element has a center point (Circle, Ellipse, Arc) -->
<!-- use center point, -->
<!-- -->
<!-- if the element is linear (Polyline, Spline) -->
<!-- use the first point (index 0), -->
<!-- -->
<!-- else (Cloud, Box) -->
<!-- use the centroid of the element's points. -->
<!-- -->
<ElementType name = "Box" content = "eltOnly" order = "seq">
<AttributeType name = "cornerRadius" dt:type = "float"/>
<AttributeType name = "rotation" dt:type = "float"/>
<AttributeType name = "scale" dt:type = "float"/>
<AttributeType name = "markupPlaneName" dt:type = "string"/>
<attribute type = "cornerRadius"/>
<attribute type = "rotation"/>
<attribute type = "scale"/>
<attribute type = "markupPlaneName"/>
<element type = "Tags" minOccurs = "0" maxOccurs = "1"/>
<element type = "Hyperlinks" minOccurs = "0" maxOccurs = "1"/>
<element type = "Point2d" minOccurs = "1" maxOccurs = "1"/>
<element type = "Point2d" minOccurs = "1" maxOccurs = "1"/>
</ElementType>
<ElementType name = "Circle" content = "eltOnly" order = "seq">
<AttributeType name = "radius" dt:type = "float" required = "yes"/>
<AttributeType name = "rotation" dt:type = "float"/>
<AttributeType name = "scale" dt:type = "float"/>
<AttributeType name = "markupPlaneName" dt:type = "string"/>
<attribute type = "radius"/>
<attribute type = "rotation"/>
<attribute type = "scale"/>
<attribute type = "markupPlaneName"/>
<element type = "Tags" minOccurs = "0" maxOccurs = "1"/>
<element type = "Hyperlinks" minOccurs = "0" maxOccurs = "1"/>
<element type = "Point2d" minOccurs = "1" maxOccurs = "1"/>
</ElementType>
<ElementType name = "Ellipse" content = "eltOnly" order = "seq">
<AttributeType name = "radiusMajor" dt:type = "float" required = "yes"/>
<AttributeType name = "radiusMinor" dt:type = "float" required = "yes"/>
<AttributeType name = "rotation" dt:type = "float"/>
<AttributeType name = "scale" dt:type = "float"/>
<AttributeType name = "markupPlaneName" dt:type = "string"/>
<attribute type = "radiusMajor"/>
<attribute type = "radiusMinor"/>
<attribute type = "rotation"/>
<attribute type = "scale"/>
<attribute type = "markupPlaneName"/>
<element type = "Tags" minOccurs = "0" maxOccurs = "1"/>
<element type = "Hyperlinks" minOccurs = "0" maxOccurs = "1"/>
<element type = "Point2d" minOccurs = "1" maxOccurs = "1"/>
</ElementType>
<!-- If the Arc element's (startAngle == endAngle) within angleFuzz, -->
<!-- then it is a circle. This allows the default values for the -->
<!-- startAngle and endAngle attributes to remain unitless. -->
<ElementType name = "Arc" content = "eltOnly" order = "seq">
<AttributeType name = "startAngle" dt:type = "float"/>
<AttributeType name = "endAngle" dt:type = "float"/>
<AttributeType name = "angleFuzz" dt:type = "float"/>
<AttributeType name = "radiusMajor" dt:type = "float" required = "yes"/>
<AttributeType name = "radiusMinor" dt:type = "float"/>
<AttributeType name = "rotation" dt:type = "float"/>
<AttributeType name = "scale" dt:type = "float"/>
<AttributeType name = "markupPlaneName" dt:type = "string"/>
<attribute type = "startAngle"/>
<attribute type = "endAngle"/>
<attribute type = "angleFuzz"/>
<attribute type = "radiusMajor"/>
<attribute type = "radiusMinor"/>
<attribute type = "rotation"/>
<attribute type = "scale"/>
<attribute type = "markupPlaneName"/>
<element type = "Tags" minOccurs = "0" maxOccurs = "1"/>
<element type = "Hyperlinks" minOccurs = "0" maxOccurs = "1"/>
<element type = "Point2d" minOccurs = "1" maxOccurs = "1"/>
</ElementType>
<ElementType name = "Polyline" content = "eltOnly" order = "seq">
<AttributeType name = "rotation" dt:type = "float"/>
<AttributeType name = "scale" dt:type = "float"/>
<AttributeType name = "markupPlaneName" dt:type = "string"/>
<attribute type = "rotation"/>
<attribute type = "scale"/>
<attribute type = "markupPlaneName"/>
<element type = "Tags" minOccurs = "0" maxOccurs = "1"/>
<element type = "Hyperlinks" minOccurs = "0" maxOccurs = "1"/>
<element type = "Point2d" minOccurs = "1" maxOccurs = "1"/> <!--the first point-->
<element type = "Point2d" minOccurs = "1" maxOccurs = "*"/> <!--the rest of the points-->
</ElementType>
<ElementType name = "Spline" content = "eltOnly" order = "seq">
<AttributeType name = "rotation" dt:type = "float"/>
<AttributeType name = "scale" dt:type = "float"/>
<AttributeType name = "markupPlaneName" dt:type = "string"/>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -