how to update diagram after change in Chart in visual paradigm 10? - visual-paradigm

I am trying to draw process of my company in visual paradigm 10.
at first, I draw a chart of organization and then refer to the chart I created all the diagrams. now I want to change the chart of our organization, for example, the name of some unit. I want to update all lane based on these changes. how can I update all process diagram ?

The simplest way is to make the change using Find and Replace dialog (Ctrl + F). In the Find and Replace dialog you can limit the scope to only work on the Organization Unit and BP Pools/Lanes to avoid making unintended changes to other model elements.

Related

Visio shape (Gantt Bar) not updating with automation

I'm trying to automate the updating of some GANTT bars with a button setting the beginning date at 2w before now and ending date at 10w after now.
Problem is that it actually work and changes the data for the shape but doesn't update the visual. When I right click on the shape, open the parameters modification, select then unselect any parameter and validate, it actually update the visual, without any modification.
Do someone have an idea why this happen ?
I haven't found anywhere the same problem on internet except on a topic 19 yo with no response.
I'm using
Application.ActiveWindow.Page.Shape.ItemFromID(myID).CellsSRC(visSectionUser, 1, visUserValue).FormulaU = "NOW() -14ed"
Application.ActiveWindow.Page.Shape.ItemFromID(myID).CellsSRC(visSectionUser, 2, visUserValue).FormulaU = "NOW() + 10ew"
also tried with FormulaForce.
Thanks for any help
Gantt chart diagrams are controlled by an addin that is built-in to Visio. This addin controls most aspects of the diagram and Microsoft don't publish details of its internals. Looking at the Actions cells you can see that the Edit Date command performs action:
RUNADDONWARGS("GC","/CMD=2610")
This might do all kinds of things internally.
Good luck.

Catia VBA (replace-command schreplace)

I'm trying to develop an assembly which uses contextual link... But stuck up at a point where I need to replace a existing axis system with new axis system. I came across a command from object browser - schreplace... Can someone assist me over this or advice me on the same
The options comes when part is active inside an assembly after which right click an axis system and select replace in order to replace it with another axis system
The Replace command is not supported in the automation interface (VBA).
Since you are in charge of the assembly, it is possible to work around this using some tricks.
One way is to add an isolated (datum) axis system to your part, then use the formula editor (creating a formula) to set it equal to your contextual one.
In your part do ALL your construction from this datum axis system. Don't use the copy-pasted one for any purpose except as input to the formula.
Now if you want to use a different axis, copy-paste-with-link the new one into your part, and then change the formula to refer to the new copy. The downstream geometry will then update. This is all doable in VBA.

add data layer from mxd table of contents in custom arcmap toolbox

Can't find any references for how to add a data layer into a custom toolbox that I made in ArcMap via a dropdown menu instead of navigating to the file location.
The first picture is what the input for my tool lookslike, and the second is a screen shot of the Clip tool which has the dropdown options.
You have not set the parameter type in the script input parameters. This cannot be controlled in the script that you created, but has to be done in the tool (within ArcMap).
For this specific case, I believe Feature Class is the parameter type that you want (if not, Feature Layer -- I honestly haven't done this in ages, and there are quite a few options!)
You can also set options such as whether or not the parameter is required.
See Esri help pages for full details: Setting script tool parameters and Understanding script tool parameters.

Underlining in DIA

Just started working on E-R diagrams for the first time and I can't seem to be able to underline. Any suggestions?
as you are not creating a flowchart, but an er, you should change your palette :) click on the left side of your screen where it says "flowchart", and select "er". now use the tool "attribute" from this new palette. check out the properties of this one! no underlining..... but!! primary key :D dia is even semantically correct.
you should use the tools from this palette exclusively when creating er diagrams. so use "entity" for that box in your screenshot that says "person".
draw lines between entities and relations with the line tool from the er palette, use the generic line tool from the basic tools on your top left for the attributes. and make sure everything is connected via their handles (displayed on each object as tiny tiny x:es). makes it easier to move things around :)
good luck!

In Enterprise Architect, can I export the structured specification of an element's scenario into a report?

For each model element, there is the option in EA 10 to create internal requirements, constraints and scenarios. All of them end up in reports if you use the pre-defined Basic Template.
However, if you select "structured specification" instead of the default "description" text field for a scenario, then I end up with the steps of the structured specification being ignored in the report output.
How can I have them included in reports?
It sounds like you need to create your own reporting template. This may seem a bit daunting first time out and the template editor is pretty ornery, but luckily you can use an existing template as a starting point.
Hit F8 to bring up the Generate Documentation dialog, then select the Templates tab. Click New, specify a name and select a template you like to be copied. Don't bother with a template group, and leave the fragment checkbox unchecked.
In the editor, scroll down about halfway (assuming you selected to copy the Basic template) and locate the yellow scenario > tag.
Now in the checkbox tree on the left, scroll down do Package - Element - Scenario. Note that Scenario is checked, but Structured Scenarios is not. Check it.
In the editor, note the new structured scenarios > tag. Remove the right-click-to-insert text, then right-click and select Insert Field, then State etc.
It's more than a little fiddly, but if the Basic template is good enough to begin with you should be able to add the structured scenarios with a minimum of effort.
For more information, see the help file under Reporting - RTF Documents. Note that the individual fields aren't listed in the help file, you need to open up the template editor to see what specific information you can extract to your report.