D-Tools custom shape

Started by lightmedic, October 24, 2017, 03:08:46 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

lightmedic

Does anybody know how to reference a product's image/thumbnail and include it as part of a shape?

Paul Herber

The icon is only part of the stencil that the shape was dragged from and does not carry forward as part of the shape.
What are you trying to do?
Electronic and Electrical engineering, business and software stencils for Visio -

https://www.paulherber.co.uk/

wapperdude

1)  Screen capture, save as drawing file.
2)  Ask the company ...sometimes they have images available.
3)  Make your own

Beware, the image might be copyrighted so tread carefully.

Wapperdude
Visio 2019 Pro

lightmedic

Sorry, I have been so head down I didn't provide enough info.
Every D-tools catalog item has/can have a thumbnail and large image associated with it. I am looking to reference this image as part of a custom shape with additional information, make, model..., but can't determine how/where to point to the pic. Essentially building a shape where the catalog image is the graphic.

The image itself is populated into the D-tools catalog from where ever, manufacture site, cut sheets, google.

lightmedic


Visio Guy

Hi LM,

<other readers, LM is talking about a product called D-Tools System Integrator, which includes integration with Visio>

Are you trying to get at the image in a shape that already exists, or are you trying to find the source of the image for any product? I assume we're talking about Line Drawings, in which case D-Tools adds the image to the shape, if one exists. This image is (probably) pulled from the catalog database, and dropped inside the line shape, which is a group. So the image is a subshape. In order to do this, D-Tools probably might have to save the file to disk temporarily, then load it into Visio, but they might also do some sort of OLE drop as well.

You can open a group window by right-clicking a shape, then choosing "Open Some_ShapeName".

If you're doing ShapeSheet work, you'll then likely need the id of the group and the image subshape. See:

  http://www.visguy.com/2009/07/15/whats-my-shapes-id/

If, say, the group has ID=1 and the image ID=5, you can build references between them.

Image half width of group:

  Width = Sheet.1!Width*0.5

Insert text on the image subshape to show comp id:

  Inserted custom field = Sheet.1!Prop.ComponentID

Group references location of the image subshape:

  User.SomeValueX = Sheet.5!PinX


For articles, tips and free content, see the Visio Guy Website at http://www.visguy.com
Get my Visio Book! Using Microsoft Visio 2010

lightmedic

Inquiry was posted prior to finding the stock line image. Chatted with Vic, support ticket pending. Your reply was helpful in that I think I may have another approach to try. Optimistic but not hopeful.

Visio Guy

Support ticket came around to me on the other end! I do a lot of work with D-Tools :)
For articles, tips and free content, see the Visio Guy Website at http://www.visguy.com
Get my Visio Book! Using Microsoft Visio 2010

lightmedic

I am available and still poking at it.