Recent Posts

Pages: 1 [2] 3 4 ... 10
General Visio / Re: Will Visio 2013 draw a line tangent between two curves
« Last post by Paul Herber on August 03, 2020, 10:55:18 AM »
Have a look at the shapes here:
Might be something useful ...
General Visio / Will Visio 2013 draw a line tangent between two curves
« Last post by Quarencia on August 03, 2020, 09:17:33 AM »
I can't get Visio 2013 to create a line tangent between two curves.  I know I've been able to do this in past versions, but I don't know how many versions back that was or how long ago it was.

I have read everything that comes up in google searches and watched the VisGuy video from 2009, but it doesn't seem to apply to new versions of Visio.

I can get the tangent line started from one curve (it turns blue now, not red like it did a decade ago).  When I bring the tangent line close to the second curve, it snaps to geometry and turns yellow.  It will never snap to a point defined as tangent to the second curve.

I have tried with circles, ellipses & freeform curves in all combinations and starting from both curves.  I can't get it to work.

I have Snap set to Shape Extensions & Shape Geometry only.  Drawing Aids is enabled.  I have Curve Interior Tangent enabled in Advanced tab.

Any help would be appreciated.  Thanks,
Visio 2010 also use vsd-file format! In article John Goldsmith mentioned functions which was added in Visio 2010.
In Russian Visio forum I set preffered format:

May be our topic starter use there vsd-format according this rule?
What version of Visio are you using?  Since you provide a vsd file, it would seem you are using 2007 or older.  The link you provided  is based upon more recent Visio object model.  Some of the features used in the solution don't exist for older versions of Visio. 

It may be possible to put together something, but, it would take much more coding to work-around the lack of features...Hence my question.
Cross-post via Google Translate with some suggestions.
Sorry for my English, I hope you can understand me.
Don't worry, i am member of this forum about 10 years. I learn English in 1986-1992 in Moscow school and i was not good pupil  :)
ShapeSheet & Smart Shapes / Orientation of the sub-shapes to the dynamic connector
« Last post by asfadel on August 01, 2020, 02:02:10 PM »
Hello, dear members of the forum!
I would like to make a dynamic connector for myself with labels on both sides and counterparts for circuit shape blocks. The connector described here was taken as a basis (thanks to John Goldsmith !). Now I changed everything I wanted, but I just cannot correctly orient the mating parts (subshapes - rectangles on both sides of the dynamic connector) and fix their sizes. In the attachment example "test", there is a dynamic connectors: "now" - what I have, "need 1" - "need 3" - how I would like it to be like.
Help me, please, how to solve this problem?
Sorry for my English, I hope you can understand me.
Programming & Code / Re: Problem with Shape.CellExists
« Last post by asfadel on August 01, 2020, 04:16:04 AM »
Thank you for quick response, Nikolay and John ! I checked this moments, and found a problem. It was in visExistsLocally. As soon as I changed visExistsLocally to visExistsAnywhere the macro started working as it should.
Programming & Code / Re: Problem with Shape.CellExists
« Last post by JohnGoldsmith on August 01, 2020, 01:44:11 AM »
A couple of other things to check:

  • Are you sure the Shape Data exists at that level of the shape (ie not in a parent shape and not in a sub-shape of those sub-shapes?
  • Are you sure the Shape Data row is local? Does visExistsAnywhere produce different results?
Programming & Code / Re: Problem with Shape.CellExists
« Last post by Nikolay on July 31, 2020, 09:05:10 AM »
Maybe the problem is the cell name? I.e. "type" may be cell label (text you see in the user interface), not the name.
To get the name, use shapesheet (first column) or use developer mode, then it's displayed in the UI.

If you created the property using link to data wziard then most probably the name is "_VisDM_type" and you should use "prop._VisDM_type"

Programming & Code / Problem with Shape.CellExists
« Last post by asfadel on July 31, 2020, 08:16:12 AM »
Hello !
I'm trying to check name of user created cell of subshapes in a group, but Shape.CellExists method always return False. Here a code:

For Each vsoShape In shp.Shapes
           If vsoShape.CellExists("Prop.type", visExistsLocally) Then
                If vsoShape.Cells("Prop.type").ResultStr("") = "Device_name" Then
                    device = vsoShape.Text
                ElseIf vsoShape.Cells("Prop.type").ResultStr("") = "ID" Then
                    device_ID = vsoShape.Text
                End If
            End If
Howether, if I'm typing for example:
           If vsoShape.CellExists("Width", visExistsLocally)
I can get this data from this user cells. What could be the problem ? How to resolve it ?
Pages: 1 [2] 3 4 ... 10