PROFESSIONAL NEWSGROUPS
WINDEV
,
WEBDEV
and
WINDEV Mobile
Home
|
Recent messages
|
Connect
|
Sign out
|
English
Home
→
WEBDEV 2024
→
Adding a complex shape to a diagram library
Adding a complex shape to a diagram library
Started by rob willis, May, 07 2022 9:07 PM - 1 reply
Connect yourself…
rob willis
#1
Posted on May, 07 2022 - 9:07 PM
Is there any documentation or code example to add a complex shape to a diagram library? PCSoft demonstrates a harbor with ship icons and electrical diagrams but no where is there a way to actually build/add those shapes to a library.
Report
0
0
CCordes
#2
Registered member
68 messages
Posted on May, 13 2022 - 7:25 PM
Maybe you figured this out already-
If you add your complex shape to a diagram and then do a DiagramSave(ALibraryName, "LibraryFileName.wddiag")
That "LibraryFileName.wdDiag" file is your library.
So if you have a diagram that you use as a library. - MyLibrary.wddiag
You can Create a diagram
DiagramLoadLibrary( your library)
Add it to a diagram
Create your complex shape
add it to the diagram
then save that diagram as your Library.
Your Complex Shape should now be part of your library.
Apparently, every wddiag diagram is, and can be loaded as, a library.
Hope this helps
ChrisC
Report
0
0
→ Go back to WEBDEV 2024
WINDEV 2024
WEBDEV 2024
WINDEV Mobile 2024
WINDEV (earlier versions)
Français
English
Español
Portuguesa
Close this window
Search type
Only topics
All the messages
Search period
Any time
Past hour
Past 24 hours
Past week
Past month
Past year
Cancel
Preview of your message
Adding an image
Import an image from a URL
Send an image from a file of your disk
Drop a file or click "Browse..."
or
Cancel
0%
WLanguage
SQL
XML, HTML
JAVA, Javascript
Text