Jump to content

Tobias Döngi

Member
  • Content Count

    6
  • Joined

  • Last visited

Community Reputation

2 Neutral

2 Followers

About Tobias Döngi

  • Rank
    Greenhorn

Personal Information

  • Location
    Germany

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. If you are trying to set the palette visibility on Windows then this call will not work at all. Please see my answer in above mentioned thread. You would have to retrieve the WindowsOSData, parse the XML, find the corresponding palette there and alter its visibility. As far as I know this cannot be done via SDK yet.
  2. It depends on which platform you are creating the new palette. Under Windows you cannot set the visibility state by API. This is due to the fact that NVI is using a third party module for rendering all the palettes. You can see this when opening a Windows workspace file in a text editor. There is a special tag WindowsOSData. That's a xml subsystem with own palettes and settings specific to the Windows platform. You can retrieve this data by calling: TXString newWinOSData; workspaceFile->GetWindowsOSData(newWinOSData);
  3. Hello, I'm using following code to create new tool palettes: VCOMError XGWorkspaceCreator::CreateNewToolPalette(const TXString& paletteName, IWorkspaceFile* workspaceFile, IWorkspaceToolPalette** newToolPalette) { VCOMError error = kVCOMError_Failed; if (workspaceFile) { TXString toolPaletteID; CREATE_TOOLPALETTE_ID(toolPaletteID, error); workspaceFile->CreateToolPalette(toolPaletteID, newToolPalette); (*newToolPalette)->SetDisplayName(XG::Win2MacString(paletteName)); } return error; } Where workspaceFile points to a workspace file within Vectorworks program directory.
  4. Cool, great tutorials and a lot of fun to learn something about modeling beside the normal hacker work 😉
  5. Ah great, never thought about that. Thanks for your help.
  6. As mentioned in the title I'm wondering what the method bool IResourceManagerContent::GetSelectedResourceIsDocument() does. My first thought that it validates if the selected resource is already in document proofed wrong after some debugging and importing resources and re-importing them. And what the name suggests if the selected resource is a document sounds somewhat weird. Can anyone help? Best regards Tobias

 

7150 Riverwood Drive, Columbia, Maryland 21046, USA   |   Contact Us:   410-290-5114

 

© 2018 Vectorworks, Inc. All Rights Reserved. Vectorworks, Inc. is part of the Nemetschek Group.

×
×
  • Create New...