Hello everyone,
I'd like to know if anyone knows how to do the following: I have several types of plans: consultation plans and production plans.
However, in my plan number, we use a particular tag for both of them, for example:
Plan number: DW-14561-CONSULT
and
Plan Number: DW-14561-PROD
I would like to add a text "MAP ONLY FOR CONSULTATION" in my title block, in an automatic way, related to the plan number.
Basically, if it detects "Consult" it should write "PLAN ONLY FOR CONSULTATION" and if it detects "PROD" it should write "PRODUCTION PLAN".
Thank you and have a good day!
pl
June 24, 2014, 3:46pm
2
Hello
It will be possible with a macro, otherwise it corresponds to conditional actions, but I don't think it exists in SolidWorks!
There may be a way to do this with the MyCAD INTEGRATION tool.
It would take a little digging, but by detecting CONSULT or PROD in a variable, it should be possible to activate a suitable layer that would include the desired mention. You would have 2 layers: "CONSULT" and "PROD"
2 Likes
pl
June 24, 2014, 3:48pm
4
It's possible if you use 2 different document templates!
A "texte_pour_plan" property would be in the 2 and the value would be "PLAN ONLY FOR CONSULTATION" or "PRODUCTION PLAN".
With the help of:
http://help.solidworks.com/2012/french/SolidWorks/sldworks/HIDD_SELECT_PROPERTY.htm
gerald
June 24, 2014, 3:50pm
5
Why not simply make a property in your room that gives you a choice
capture_propriete_tole.png
1 Like
pl
June 24, 2014, 3:53pm
6
Indeed, it could be possible with the Axemble utilities: Integration, BatchProperties or even SmartProperties!
The condition would be if the end of the plan number is consult or prod, and modify the text of a "texte_pour_plan" property that you would display in the drawing (last link of the help I posted).
But Axemble vans are not free!
Batch properties and Smart properties will not display a drawing insert.
1 Like
pl
June 24, 2014, 4:03pm
8
SmartProperties can modify the contents of a conditional property "texte_pour_plan".
And you can very easily display a property in a note:
See the link I posted for help:
http://help.solidworks.com/2012/french/SolidWorks/sldworks/HIDD_SELECT_PROPERTY.htm
For me the best is INTEGRATION .
1 Like
Oh yes, we can see it like that @Lucas.
PS: the -1s are on Lynkoa to designate inappropriate content, I don't see it well... even if we don't agree!
gerald
June 24, 2014, 5:02pm
11
I agree with benoit for the -1
It's for the sake of it. I would have deserved it today and no one is doing it to me.
But it's not a justified sanction.
gerald
June 25, 2014, 4:55am
12
@lucas I just tilled but it's the SW property editor that you have to use because it's installed in the tools.
So we're going to say free or buy at the same time as SW
The ik is that he has it made piece by piece
Mycad utilities allow you to take a folder and change everything.
So to sum it up, if you have the time, you do it one by one, if you don't have the time, you pay 300€ and your complete suite
Or you hire a temporary worker you buy a workstation with SW and you tell him you change the properties (well that's a bit expensive)
1 Like
@Lucas P
"But Axemble vans are not free!"
Unfortunately I can't buy utilities just to change texts (even if these utilities are probably very good for doing other things as well).
Macro: I don't know this field well.
Thank you!
I found it
For the plan number I do it in 2 parts
One part for the DW-14561 and a second for the REV.
Then in a general table: =IF('REV'="CONSULT"; "ONLY FOR QUOTATION"; "")
And there you have it!
------------------EDIT
Actually 3 parts:
TYPEREV: C or P
NUM REV: 1 / 2 / 3....
=IF('REV'="C"; "ONLY FOR QUOTATION"; "")
On the other hand I don't know if I can add & to do:
=IF('REV'="C"; "ONLY FOR QUOTATION"; "")&IF('REV'="P"; "PRODUCTION"; "")
1 Like
I'm coming back for a start of the track, I don't have all the elements.
At one time I used 2 tools: "Multi-document printing" and "Powerprint"
2 things, it seems to me that one proposed to add a "stamp" as you wish, but I don't know which one and under what conditions, and then, I don't know if it was part of SolidWokrs or if it was part of the MyCAD suite.
@jmsavoyat can perhaps inform us?
As for the price, INTEGRATION is for example 100€ I think and allows you to do a good part of the actions of all the other tools. The investment in this tool can be quickly recouped. Just to reload basemaps in bulk! And so many other things.
For the rest:
No need for "&" in the equation:
Just create 2 paintings and overlay them...
See you soon!
pl
June 25, 2014, 7:21am
17
@Benoit.LF indeed, the -1 is for "has nothing to do on Lynkoa" and that's not the case, so I removed it.
But I found your comment a bit categorical :
"Batch properties and Smart properties will not be able to display an insert on the drawing."
when I had just said that it was possible...
This is false, so a "I think that... " would have been more appropriate!
To get back to the subject, it is therefore possible with equations!
1 Like
gt22
June 25, 2014, 7:51am
18
hi @ Batch
If I understood correctly, you have a version to consult and one to make
but the drawings are the same
and today it's with a diff code that you manage the thing the code says it's so it must be and that you would like it in auto
I wonder if it's the same plan why a consultation and a manufacturing?
An option can be placed on a watermark on a consultation layer as long as it is not approved for the fab
See Filigrame tutorial on the site
@+
gerald
June 25, 2014, 8:09am
19
Otherwise afterwards it's converted into a pdf and affixed a consultation stamp or printed with consultation watermark.
gt22
June 25, 2014, 8:15am
20
@. Gérald it is a child's simplicity of pse a watermark on a drawing
As said before, see tutorial to search for a watermark on the site
@+