CADSTAR: Parse PINNOOFFSET and PINNOANGLE
This commit is contained in:
parent
9d5672464e
commit
c5362c9b0a
|
@ -818,6 +818,14 @@ bool CADSTAR_ARCHIVE_PARSER::SETTINGS::ParseSubNode( XNODE* aChildNode, PARSER_C
|
|||
{
|
||||
DesignLimit.Parse( aChildNode->GetChildren(), aContext );
|
||||
}
|
||||
else if( cNodeName == wxT( "PINNOOFFSET" ) )
|
||||
{
|
||||
PinNoOffset = GetXmlAttributeIDLong( aChildNode, 0 );
|
||||
}
|
||||
else if( cNodeName == wxT( "PINNOANGLE" ) )
|
||||
{
|
||||
PinNoAngle = GetXmlAttributeIDLong( aChildNode, 0 );
|
||||
}
|
||||
else
|
||||
{
|
||||
return false;
|
||||
|
|
|
@ -578,6 +578,9 @@ public:
|
|||
bool AllowBarredText = false; ///< Specifies if barring is allowed in the design
|
||||
long AngularPrecision; ///< Number of decimal points to display for angular dimensions
|
||||
|
||||
long PinNoOffset; ///< The distance, of a Pin Name/Identifier from its parent terminal.
|
||||
long PinNoAngle; ///< The angle at which the Pin ID is positioned relative to a terminal.
|
||||
|
||||
LONGPOINT DesignOrigin;
|
||||
std::pair<POINT, POINT> DesignArea;
|
||||
LONGPOINT DesignRef; ///< Appears to be 0,0 always
|
||||
|
|
Loading…
Reference in New Issue