dialux block replace with cad block

dialux block replace with cad block

emadelbatran
Enthusiast Enthusiast
1,667 Views
6 Replies
Message 1 of 7

dialux block replace with cad block

emadelbatran
Enthusiast
Enthusiast

How I can replace lighting of dialux with my own cad block with the same rotation, if there's a lisp can do it it will be perfect one , I tried more time to replace througth our own lisp could to replace from cad to cad , but the problem is cad program consider it the blocks of dialux program ureal and it dosn't has a name into cad program to run our lisp correct without problem

0 Likes
1,668 Views
6 Replies
Replies (6)
Message 2 of 7

pendean
Community Legend
Community Legend
Message 3 of 7

emadelbatran
Enthusiast
Enthusiast

thanks a lot but the old one didn't solve it yet 

0 Likes
Message 4 of 7

john.vellek
Alumni
Alumni

Hi @emadelbatran,

 

Can you share your file that contains the Dialux and also a copy of the block you want to use?  I am happy to help get the block replaced for you.

 

If your data needs to be private or confidential, please email it directly to me at john.vellek@autodesk.com and please include a link to this thread in your email.

 

 

Please select the Accept as Solution button if my post solves your issue or answers your question.


John Vellek


Join the Autodesk Customer Council - Interact with developers, provide feedback on current and future software releases, and beta test the latest software!

Autodesk Knowledge Network | Autodesk Account | Product Feedback
0 Likes
Message 5 of 7

cadffm
Consultant
Consultant

@john.vellek

I can not check dwg files now, but i am sure you will find a structure like the following in pendeans link:

 

In "paper language"

One symbol (light symbol  type A, with three different numbers)

Placed 3 times with different angles .

and for each number (electric powerline number? Sh*t, i can not translate it. Stromkreis)

 

In "CAD language"

Doesn't matter: Each Insert refer there own block!

For each number, type, size, the program creates a new block.

So all blockreferences has rotation=0 xyzScale=0 and you have just one blockreference per block.

 

A good drawer create one block and use scaling and rotation,

the export function create 100 blocks for 100(the "same") symbol.

 

Solution: Not just a simple replace function, you need a perfect program with block content analyses and blockreference replacing at last.

(i have to do it sometimes in my job)

 

 

Sebastian

0 Likes
Message 6 of 7

emadelbatran
Enthusiast
Enthusiast
Dear John.vellek
thanks for your message and for the end of it, Yes I need special program
to could make it
or someone perfect in autocad lisp program to make something like this.
anyway thank you for your beautiful message
Regards
Emad
0 Likes
Message 7 of 7

emadelbatran
Enthusiast
Enthusiast

Dear 

0 Likes