Exemplo n.º 1
0
 public void SetParentCmd(ValveBlockDesign.Command parentCmd)
 {
     //store a copy of the parent command
     m_parentCmd = parentCmd;
 }
Exemplo n.º 2
0
 private void CreateButton(string standardPictureName, string largePictureName, ValveBlockDesign.Command parentCmd, string displayName, string internalName, CommandTypesEnum commandType, object clientId, string description, string toolTip, ButtonDisplayEnum buttonType, bool autoAddToGUI)
 {
     GetIconPicture(standardPictureName, largePictureName);
     parentCmd.CreateButton(
         m_inventorApplication,
         displayName,
         internalName,
         commandType,
         clientId,
         description,
         toolTip,
         oIPictureDispStandard,
         oIPictureDispLarge,
         buttonType,
         autoAddToGUI);
 }