protected override IXDimension[] GetDimensions(IXCustomFeature feat) { var dispDimsObj = ((SwMacroFeature)feat).FeatureData.GetDisplayDimensions() as object[]; if (dispDimsObj != null) { var dimensions = new IXDimension[dispDimsObj.Length]; for (int i = 0; i < dispDimsObj.Length; i++) { dimensions[i] = new SwDimension(dispDimsObj[i] as IDisplayDimension); dispDimsObj[i] = null; } return(dimensions); } else { return(null); } }
public SwDimensionChangeEventsHandler(SwDimension dim, ISwDocument doc) : base() { m_Dim = dim; m_Doc = doc; }
public SwDimensionChangeEventsHandler(SwDimension dim, IModelDoc2 model) : base() { m_Dim = dim; m_Model = model; }