Beispiel #1
0
        //--------------------------------------------------------------------------------------------------

        public override void Start()
        {
            _Panel = PropertyPanel.CreatePanel <ImprintPropertyPanel>(Entity);
            InteractiveContext.Current.PropertyPanelManager?.AddPanel(_Panel, PropertyPanelSortingKey.Shapes);

            if (Entity.Sketch != null)
            {
                _SketchPanel = PropertyPanel.CreatePanel <SketchPropertyPanel>(Entity.Sketch);
                InteractiveContext.Current.PropertyPanelManager?.AddPanel(_SketchPanel, _Panel);
            }
        }
Beispiel #2
0
        //--------------------------------------------------------------------------------------------------

        public override void Start()
        {
            _Panel = PropertyPanel.CreatePanel <PipePropertyPanel>(Entity);
            InteractiveContext.Current.PropertyPanelManager?.AddPanel(_Panel, PropertyPanelSortingKey.Shapes);

            if (Entity.Predecessor is Sketch sketch)
            {
                _SketchPanel = PropertyPanel.CreatePanel <SketchPropertyPanel>(sketch);
                InteractiveContext.Current.PropertyPanelManager?.AddPanel(_SketchPanel, _Panel);
            }
        }