Our 3D CAD supplier models have been moved to 3Dfindit.com, the new visual search engine for 3D CAD, CAE & BIM models.
You can log in there with your existing account of this site.
The content remains free of charge.
Kategorien müssen im Block [Categories] angelegt werden.
In der
Konfigurationsdatei ifacecommon.cfg
sind bereits
Standard-Kategorien angelegt, die nicht geändert
werden können/sollen. Diese Kategorien können allerdings in jeder
CAD-spezifischen Konfigurationsdatei verwendet werden.
Beispiel für die Verwendung der Standard-Kategorie "is3d" im poolPath-Schlüssel:
poolPath(is3d)=$CADENAS_DATA/pool/solidworks
Eigene Kategorien
werden in den CAD-spezifischen Konfigurationsdateien (z.B.
ifugnx.cfg
) im Block [Categories]
angelegt.
Sie können dann in beliebigen anderen Blöcken der CAD-spezifischen Konfigurationsdateien verwendet werden.
Im Folgenden sehen
Sie ein Beispiel aus der Konfigurationsdatei ifugnx.cfg
. Zuerst werden die
Kategorien nx4, nx5, nx6, nx7, nx75 und nx80 definiert. Danach werden diese
für die Zuweisung des jeweils passenden Templates verwendet.
[Categories] nx4=GetObject("iface.contextservice").GetVariable("UserApp").cadVersion="400" nx5=GetObject("iface.contextservice").GetVariable("UserApp").cadVersion="500" nx6=GetObject("iface.contextservice").GetVariable("UserApp").cadVersion="600" nx7=GetObject("iface.contextservice").GetVariable("UserApp").cadVersion="700" nx75=GetObject("iface.contextservice").GetVariable("UserApp").cadVersion="750" nx80=GetObject("iface.contextservice").GetVariable("UserApp").cadVersion="800" tcActive=GetObject("iface.contextservice").GetVariable("UserApp").GetObject ("iface.teamcenter").isTeamcenterActive() [CreationOptions] TemplateName(nx4,isMMDoc)=$CADENAS/iface/unigraphics/shared/nx4/seedparts/ups_seed_mm.prt TemplateName(nx4,isInchDoc)=$CADENAS/iface/unigraphics/shared/nx4/seedparts/ups_seed_in.prt TemplateName(nx5,isMMDoc)=$CADENAS/iface/unigraphics/shared/nx5/seedparts/ups_seed_mm.prt TemplateName(nx5,isInchDoc)=$CADENAS/iface/unigraphics/shared/nx5/seedparts/ups_seed_in.prt TemplateName(nx6,isMMDoc)=$CADENAS/iface/unigraphics/shared/nx6/seedparts/ups_seed_mm.prt TemplateName(nx6,isInchDoc)=$CADENAS/iface/unigraphics/shared/nx6/seedparts/ups_seed_in.prt # etc.
Dasselbe für Solid
Edge in der Konfigurationsdatei ifsolidedge.cfg
sieht so aus:
[Categories] st1=GetObject("iface.contextservice").GetVariable("UserApp").cadVersion="100" st2=GetObject("iface.contextservice").GetVariable("UserApp").cadVersion="200"
Und für Pro/E in
der Konfigurationsdatei ifproewildfire.cfg
so:
[Categories] wf3=GetObject("iface.contextservice").GetVariable("UserApp").cadVersion="3" wf4=GetObject("iface.contextservice").GetVariable("UserApp").cadVersion="4" wf5=GetObject("iface.contextservice").GetVariable("UserApp").cadVersion="5" wf6=GetObject("iface.contextservice").GetVariable("UserApp").cadVersion="6" wf34=(GetObject("iface.contextservice").GetVariable("UserApp").cadVersion="3") OR (GetObject("iface.contextservice").GetVariable("UserApp").cadVersion="4") wf567=(GetObject("iface.contextservice").GetVariable("UserApp").cadVersion="5") OR (GetObject("iface.contextservice").GetVariable("UserApp").cadVersion="6") OR (GetObject("iface.contextservice").GetVariable("UserApp").cadVersion="7")