<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: current dwg file name in ObjectARX Forum</title>
    <link>https://forums.autodesk.com/t5/objectarx-forum/current-dwg-file-name/m-p/1767539#M22729</link>
    <description>http://discussion.autodesk.com/thread.jspa?messageID=5333453&amp;amp;tstart=0#5333453</description>
    <pubDate>Tue, 19 Sep 2006 08:13:35 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2006-09-19T08:13:35Z</dc:date>
    <item>
      <title>current dwg file name</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/current-dwg-file-name/m-p/1767538#M22728</link>
      <description>Hello alexander,&lt;BR /&gt;
Can u plsss tell me how to print this filename</description>
      <pubDate>Tue, 19 Sep 2006 04:35:33 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/current-dwg-file-name/m-p/1767538#M22728</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2006-09-19T04:35:33Z</dc:date>
    </item>
    <item>
      <title>Re: current dwg file name</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/current-dwg-file-name/m-p/1767539#M22729</link>
      <description>http://discussion.autodesk.com/thread.jspa?messageID=5333453&amp;amp;tstart=0#5333453</description>
      <pubDate>Tue, 19 Sep 2006 08:13:35 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/current-dwg-file-name/m-p/1767539#M22729</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2006-09-19T08:13:35Z</dc:date>
    </item>
    <item>
      <title>Re: current dwg file name</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/current-dwg-file-name/m-p/1767540#M22730</link>
      <description>Thanx Alexander u r very helpfull.&lt;BR /&gt;
one more small thing hope i m not harrasing u &lt;BR /&gt;
this complete thing gives me the entire path along with the filename is their any way to get the filename only&lt;BR /&gt;
eg: i m getting this output -&amp;gt; c:\sapcad\testfile.dwg.&lt;BR /&gt;
i want only "testfile"string&lt;BR /&gt;
thanx for great help</description>
      <pubDate>Tue, 19 Sep 2006 09:23:21 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/current-dwg-file-name/m-p/1767540#M22730</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2006-09-19T09:23:21Z</dc:date>
    </item>
    <item>
      <title>Re: current dwg file name</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/current-dwg-file-name/m-p/1767541#M22731</link>
      <description>_splitpath&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
&lt;CONDOLESAP&gt; wrote in message news:5333522@discussion.autodesk.com...&lt;BR /&gt;
Thanx Alexander u r very helpfull.&lt;BR /&gt;
one more small thing hope i m not harrasing u&lt;BR /&gt;
this complete thing gives me the entire path along with the filename is &lt;BR /&gt;
their any way to get the filename only&lt;BR /&gt;
eg: i m getting this output -&amp;gt; c:\sapcad\testfile.dwg.&lt;BR /&gt;
i want only "testfile"string&lt;BR /&gt;
thanx for great help&lt;/CONDOLESAP&gt;</description>
      <pubDate>Tue, 19 Sep 2006 10:13:27 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/current-dwg-file-name/m-p/1767541#M22731</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2006-09-19T10:13:27Z</dc:date>
    </item>
    <item>
      <title>Re: current dwg file name</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/current-dwg-file-name/m-p/1767542#M22732</link>
      <description>hello Alexander can u please tell me how to use it&lt;BR /&gt;
thanx</description>
      <pubDate>Tue, 19 Sep 2006 10:28:59 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/current-dwg-file-name/m-p/1767542#M22732</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2006-09-19T10:28:59Z</dc:date>
    </item>
    <item>
      <title>Re: current dwg file name</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/current-dwg-file-name/m-p/1767543#M22733</link>
      <description>void _splitpath(&lt;BR /&gt;
   const char *path,&lt;BR /&gt;
   char *drive,&lt;BR /&gt;
   char *dir,&lt;BR /&gt;
   char *fname,&lt;BR /&gt;
   char *ext&lt;BR /&gt;
);&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
Parameters&lt;BR /&gt;
path       Full path&lt;BR /&gt;
drive      Optional drive letter, followed by a colon (:)&lt;BR /&gt;
dir         Optional directory path, including trailing slash. Forward &lt;BR /&gt;
slashes ( / ), backslashes ( \ ), or both may be used.&lt;BR /&gt;
fname     Base filename (no extension)&lt;BR /&gt;
ext         Optional filename extension, including leading period (.)&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
This has really nothing to do with objectARX&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
&lt;CONDOLESAP&gt; wrote in message news:5333528@discussion.autodesk.com...&lt;BR /&gt;
hello Alexander can u please tell me how to use it&lt;BR /&gt;
thanx&lt;/CONDOLESAP&gt;</description>
      <pubDate>Tue, 19 Sep 2006 12:04:55 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/current-dwg-file-name/m-p/1767543#M22733</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2006-09-19T12:04:55Z</dc:date>
    </item>
    <item>
      <title>Re: current dwg file name</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/current-dwg-file-name/m-p/1767544#M22734</link>
      <description>Hello Matt,&lt;BR /&gt;
I dont know wether this is related to ObjectARX or not I just wanted to know how to obtain the current drawing file name &lt;BR /&gt;
Can u pls tell me what exactly this function does??&lt;BR /&gt;
i m sending the Part of code I have written tell me wether where its wrong since its giving me access violation error at runtime&lt;BR /&gt;
ACHAR *one;&lt;BR /&gt;
ACHAR *two;&lt;BR /&gt;
ACHAR *three;&lt;BR /&gt;
ACHAR *four;&lt;BR /&gt;
			&lt;BR /&gt;
const ACHAR *dwgfilename = curDoc()-&amp;gt;fileName();&lt;BR /&gt;
&lt;BR /&gt;
_splitpath(dwgfilename,one,two,three,four);</description>
      <pubDate>Tue, 19 Sep 2006 12:21:40 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/current-dwg-file-name/m-p/1767544#M22734</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2006-09-19T12:21:40Z</dc:date>
    </item>
    <item>
      <title>Re: current dwg file name</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/current-dwg-file-name/m-p/1767545#M22735</link>
      <description>ACHAR one[_MAX_PATH];&lt;BR /&gt;
ACHAR two[_MAX_PATH];&lt;BR /&gt;
ACHAR three[_MAX_PATH];&lt;BR /&gt;
ACHAR four[_MAX_PATH];&lt;BR /&gt;
_splitpath(curDoc()-&amp;gt;fileName(),one,two,three,four);&lt;BR /&gt;
&lt;BR /&gt;
P.S.: Sorry, but I have not time to teach you base level of C/C++&lt;BR /&gt;
&lt;BR /&gt;
Message was edited by: Alexander Rivilis</description>
      <pubDate>Tue, 19 Sep 2006 12:27:20 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/current-dwg-file-name/m-p/1767545#M22735</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2006-09-19T12:27:20Z</dc:date>
    </item>
    <item>
      <title>Re: current dwg file name</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/current-dwg-file-name/m-p/1767546#M22736</link>
      <description>Hello alexander,&lt;BR /&gt;
I m sorry if my questions where toooo basic &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;BR /&gt;
&lt;BR /&gt;
Actually I m working on Autocad-SAP interface development using VC++ as the middleware. I m currently in third year of my graduation hence I never ever worked on niether SAP nor Autocad before this I m on this project from last 2 months &lt;BR /&gt;
&lt;BR /&gt;
ObjectARX is very new to me I dont know properly about its SDK ie what all classes are there and which all methods/funtions are there Before asking u I searched in the SDK but I could not locate anything .This was my first question after registering for this forum&lt;BR /&gt;
Can u please tell how to efficiently search the SDK to locate what ever I need I hopre u r getting my problem.&lt;BR /&gt;
eg : Now I dont know which class contains the function _splitpath function what parameters it takes and what exactly it does??&lt;BR /&gt;
&lt;BR /&gt;
I m using the SDK that generally comes with ObjectARX deelopers guide&lt;BR /&gt;
&lt;BR /&gt;
I hope u would help me further also&lt;BR /&gt;
&lt;BR /&gt;
Thanx &amp;amp; Regards,&lt;BR /&gt;
condolesaP</description>
      <pubDate>Wed, 20 Sep 2006 03:13:18 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/current-dwg-file-name/m-p/1767546#M22736</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2006-09-20T03:13:18Z</dc:date>
    </item>
    <item>
      <title>Re: current dwg file name</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/current-dwg-file-name/m-p/1767547#M22737</link>
      <description>&lt;CONDOLESAP&gt; wrote &lt;BR /&gt;
&lt;BR /&gt;
&amp;gt;&amp;gt; Actually I m working on Autocad-SAP interface &lt;BR /&gt;
&amp;gt;&amp;gt; development using VC++ as the middleware. &lt;BR /&gt;
&lt;BR /&gt;
In that case, it may help if you were to learn basic C++ &lt;BR /&gt;
programming first, as what you may not realize is that&lt;BR /&gt;
your questions make it somewhat obvious that you are &lt;BR /&gt;
lacking that crucial prerequisite to AutoCAD/ObjectARX &lt;BR /&gt;
development.&lt;BR /&gt;
&lt;BR /&gt;
-- &lt;BR /&gt;
http://www.caddzone.com&lt;BR /&gt;
&lt;BR /&gt;
AcadXTabs: MDI Document Tabs for AutoCAD 2004/2005/2006/2007&lt;BR /&gt;
http://www.acadxtabs.com&lt;/CONDOLESAP&gt;</description>
      <pubDate>Wed, 20 Sep 2006 04:52:22 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/current-dwg-file-name/m-p/1767547#M22737</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2006-09-20T04:52:22Z</dc:date>
    </item>
    <item>
      <title>Re: current dwg file name</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/current-dwg-file-name/m-p/1767548#M22738</link>
      <description>Search _splitpath at MS VS Help (press F1 buttom). It is not ObjectARX function but standard C/C++ function.</description>
      <pubDate>Wed, 20 Sep 2006 09:11:03 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/current-dwg-file-name/m-p/1767548#M22738</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2006-09-20T09:11:03Z</dc:date>
    </item>
    <item>
      <title>Re: current dwg file name</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/current-dwg-file-name/m-p/1767549#M22739</link>
      <description>Thanx alexander,&lt;BR /&gt;
 I got the function description I am using it its working fine and my work is completed but plsss let me know about ObjectARX SDK more how to use it and explore it is their any other way than looking into ObjectARX Developers guide.&lt;BR /&gt;
Something comfortable as it is in java&lt;BR /&gt;
Thanx&amp;amp;regards &lt;BR /&gt;
condolesaP</description>
      <pubDate>Wed, 20 Sep 2006 09:57:42 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/current-dwg-file-name/m-p/1767549#M22739</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2006-09-20T09:57:42Z</dc:date>
    </item>
    <item>
      <title>Re: current dwg file name</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/current-dwg-file-name/m-p/1767550#M22740</link>
      <description>This link help you understand first steps in ObjectARX: http://arxdummies.blogspot.com/&lt;BR /&gt;
I do not know other way except reading ObjectARX help/documents, studding examples and more programming with using ObjectARX.</description>
      <pubDate>Wed, 20 Sep 2006 10:07:14 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/current-dwg-file-name/m-p/1767550#M22740</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2006-09-20T10:07:14Z</dc:date>
    </item>
    <item>
      <title>Re: current dwg file name</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/current-dwg-file-name/m-p/1767551#M22741</link>
      <description>Have a look at .net API&lt;BR /&gt;
Maybee you're more comfortable there.&lt;BR /&gt;
There's a special newsgroup about that.&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
&lt;CONDOLESAP&gt; wrote in message news:5335036@discussion.autodesk.com...&lt;BR /&gt;
Thanx alexander,&lt;BR /&gt;
 I got the function description I am using it its working fine and my work &lt;BR /&gt;
is completed but plsss let me know about ObjectARX SDK more how to use it &lt;BR /&gt;
and explore it is their any other way than looking into ObjectARX Developers &lt;BR /&gt;
guide.&lt;BR /&gt;
Something comfortable as it is in java&lt;BR /&gt;
Thanx&amp;amp;regards&lt;BR /&gt;
condolesaP&lt;/CONDOLESAP&gt;</description>
      <pubDate>Wed, 20 Sep 2006 14:37:01 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/current-dwg-file-name/m-p/1767551#M22741</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2006-09-20T14:37:01Z</dc:date>
    </item>
    <item>
      <title>Re: current dwg file name</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/current-dwg-file-name/m-p/1767552#M22742</link>
      <description>Thanx Matt I will definitely  search and refer this API</description>
      <pubDate>Thu, 21 Sep 2006 06:12:16 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/current-dwg-file-name/m-p/1767552#M22742</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2006-09-21T06:12:16Z</dc:date>
    </item>
    <item>
      <title>Re: current dwg file name</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/current-dwg-file-name/m-p/1767553#M22743</link>
      <description>Hi &lt;BR /&gt;
please help me&lt;BR /&gt;
can we know name of dwg file&lt;BR /&gt;
thanks and regards</description>
      <pubDate>Thu, 30 Aug 2007 06:57:51 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/current-dwg-file-name/m-p/1767553#M22743</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2007-08-30T06:57:51Z</dc:date>
    </item>
    <item>
      <title>Re: current dwg file name</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/current-dwg-file-name/m-p/1767554#M22744</link>
      <description>Hello Alexander&lt;BR /&gt;
please help me&lt;BR /&gt;
can we know name of dwg file&lt;BR /&gt;
thanks and regards</description>
      <pubDate>Thu, 30 Aug 2007 07:20:36 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/current-dwg-file-name/m-p/1767554#M22744</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2007-08-30T07:20:36Z</dc:date>
    </item>
  </channel>
</rss>

