Пример #1
0
        protected override GraphicNode GetNode()
        {
            DataFragment fragment = PtApp.ActiveDocument.Database.GetFragment();
            m_Instance = new PolyLineInstance(fragment);
            m_Instance.SetLastPoint(new GePoint(0, 0, 0));
            PolyLineNode Node = new PolyLineNode(m_Instance);

            return Node;
        }
Пример #2
0
        public PolyLineManipulator(PolyLineNode node)
        {
            m_Node = node;
             m_Instance = m_Node.GetInstance() as PolyLineInstance;

             m_DragStartPoint = null;
             m_DragStartPoint = null;

             m_CursorShape = "Move.cur";
        }
Пример #3
0
 // OPT - We can use a file to manage all the internal names.
 public DrLineCmd()
     : base("DrLineCmd", "&Line")
 {
     m_Instance = null;
 }